mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-05-15 05:52:11 +00:00
Bind jgroups to any-address when ansible facts not defined
This commit is contained in:
@@ -712,7 +712,11 @@
|
||||
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||
</interface>
|
||||
<interface name="jgroups">
|
||||
{% if ansible_default_ipv4 is defined %}
|
||||
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
|
||||
{% else %}
|
||||
<any-address />
|
||||
{% endif %}
|
||||
</interface>
|
||||
<interface name="public">
|
||||
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||
|
||||
Reference in New Issue
Block a user