Bind jgroups to any-address when ansible facts not defined
parent
52ca7083a4
commit
5eba1c12e4
|
@ -712,7 +712,11 @@
|
||||||
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
|
{% if ansible_default_ipv4 is defined %}
|
||||||
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
|
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
|
||||||
|
{% else %}
|
||||||
|
<any-address />
|
||||||
|
{% endif %}
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="public">
|
<interface name="public">
|
||||||
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
|
|
@ -712,7 +712,11 @@
|
||||||
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
|
{% if ansible_default_ipv4 is defined %}
|
||||||
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
|
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
|
||||||
|
{% else %}
|
||||||
|
<any-address />
|
||||||
|
{% endif %}
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="public">
|
<interface name="public">
|
||||||
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
|
|
@ -4,12 +4,6 @@ keycloak_realm
|
||||||
Create realms and clients in [keycloak](https://keycloak.org/) or [Red Hat Single Sing-On](https://access.redhat.com/products/red-hat-single-sign-on) services.
|
Create realms and clients in [keycloak](https://keycloak.org/) or [Red Hat Single Sing-On](https://access.redhat.com/products/red-hat-single-sign-on) services.
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
|
||||||
------------
|
|
||||||
|
|
||||||
This role requires `python3-netaddr` library installed on the controller node.
|
|
||||||
|
|
||||||
|
|
||||||
Role Defaults
|
Role Defaults
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue