mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-06 10:50:31 -07:00
Close #76 - Keycloak role: fix deprecation warning for ipaddr
This commit is contained in:
parent
706677910b
commit
fd0a4e4492
4 changed files with 12 additions and 12 deletions
|
@ -631,7 +631,7 @@
|
||||||
</mail-session>
|
</mail-session>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
<subsystem xmlns="urn:wildfly:metrics:1.0" security-enabled="false" exposed-subsystems="*" prefix="${wildfly.metrics.prefix:jboss}"/>
|
<subsystem xmlns="urn:wildfly:metrics:1.0" security-enabled="false" exposed-subsystems="*" prefix="${wildfly.metrics.prefix:jboss}"/>
|
||||||
{% if keycloak_modcluster.enabled %}
|
{% if keycloak_modcluster.enabled %}
|
||||||
<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
|
<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
|
||||||
<proxy name="default" advertise="false" listener="ajp" proxies="proxy1">
|
<proxy name="default" advertise="false" listener="ajp" proxies="proxy1">
|
||||||
<dynamic-load-provider>
|
<dynamic-load-provider>
|
||||||
|
@ -639,7 +639,7 @@
|
||||||
</dynamic-load-provider>
|
</dynamic-load-provider>
|
||||||
</proxy>
|
</proxy>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<subsystem xmlns="urn:jboss:domain:naming:2.0">
|
<subsystem xmlns="urn:jboss:domain:naming:2.0">
|
||||||
<remote-naming/>
|
<remote-naming/>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
|
@ -728,7 +728,7 @@
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
{% if ansible_default_ipv4 is defined %}
|
{% 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) | ansible.utils.ipaddr('net') }}"/>
|
||||||
{% else %}
|
{% else %}
|
||||||
<any-address />
|
<any-address />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -725,7 +725,7 @@
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
{% if ansible_default_ipv4 is defined %}
|
{% 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) | ansible.utils.ipaddr('net') }}"/>
|
||||||
{% else %}
|
{% else %}
|
||||||
<any-address />
|
<any-address />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -584,7 +584,7 @@
|
||||||
</mail-session>
|
</mail-session>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
<subsystem xmlns="urn:wildfly:metrics:1.0" security-enabled="false" exposed-subsystems="*" prefix="${wildfly.metrics.prefix:jboss}"/>
|
<subsystem xmlns="urn:wildfly:metrics:1.0" security-enabled="false" exposed-subsystems="*" prefix="${wildfly.metrics.prefix:jboss}"/>
|
||||||
{% if keycloak_modcluster.enabled %}
|
{% if keycloak_modcluster.enabled %}
|
||||||
<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
|
<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
|
||||||
<proxy name="default" advertise="false" listener="ajp" proxies="{{ ['proxy_'] | product(keycloak_modcluster.reverse_proxy_urls | map(attribute='host')) | map('join') | list | join(' ') }}">
|
<proxy name="default" advertise="false" listener="ajp" proxies="{{ ['proxy_'] | product(keycloak_modcluster.reverse_proxy_urls | map(attribute='host')) | map('join') | list | join(' ') }}">
|
||||||
<dynamic-load-provider>
|
<dynamic-load-provider>
|
||||||
|
@ -592,7 +592,7 @@
|
||||||
</dynamic-load-provider>
|
</dynamic-load-provider>
|
||||||
</proxy>
|
</proxy>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<subsystem xmlns="urn:jboss:domain:naming:2.0">
|
<subsystem xmlns="urn:jboss:domain:naming:2.0">
|
||||||
<remote-naming/>
|
<remote-naming/>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
|
@ -638,7 +638,7 @@
|
||||||
</handlers>
|
</handlers>
|
||||||
<application-security-domains>
|
<application-security-domains>
|
||||||
<application-security-domain name="other" security-domain="ApplicationDomain"/>
|
<application-security-domain name="other" security-domain="ApplicationDomain"/>
|
||||||
</application-security-domains>
|
</application-security-domains>
|
||||||
<filters>
|
<filters>
|
||||||
<filter name="proxy-peer" module="io.undertow.core"
|
<filter name="proxy-peer" module="io.undertow.core"
|
||||||
class-name="io.undertow.server.handlers.ProxyPeerAddressHandler"/>
|
class-name="io.undertow.server.handlers.ProxyPeerAddressHandler"/>
|
||||||
|
@ -652,7 +652,7 @@
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
{% if ansible_default_ipv4 is defined %}
|
{% 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) | ansible.utils.ipaddr('net') }}"/>
|
||||||
{% else %}
|
{% else %}
|
||||||
<any-address />
|
<any-address />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -622,7 +622,7 @@
|
||||||
</mail-session>
|
</mail-session>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
<subsystem xmlns="urn:wildfly:metrics:1.0" security-enabled="false" exposed-subsystems="*" prefix="${wildfly.metrics.prefix:jboss}"/>
|
<subsystem xmlns="urn:wildfly:metrics:1.0" security-enabled="false" exposed-subsystems="*" prefix="${wildfly.metrics.prefix:jboss}"/>
|
||||||
{% if keycloak_modcluster.enabled %}
|
{% if keycloak_modcluster.enabled %}
|
||||||
<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
|
<subsystem xmlns="urn:jboss:domain:modcluster:5.0">
|
||||||
<proxy name="default" advertise="false" listener="ajp" proxies="{{ ['proxy_'] | product(keycloak_modcluster.reverse_proxy_urls | map(attribute='host')) | map('join') | list | join(' ') }}">
|
<proxy name="default" advertise="false" listener="ajp" proxies="{{ ['proxy_'] | product(keycloak_modcluster.reverse_proxy_urls | map(attribute='host')) | map('join') | list | join(' ') }}">
|
||||||
<dynamic-load-provider>
|
<dynamic-load-provider>
|
||||||
|
@ -630,7 +630,7 @@
|
||||||
</dynamic-load-provider>
|
</dynamic-load-provider>
|
||||||
</proxy>
|
</proxy>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<subsystem xmlns="urn:jboss:domain:naming:2.0">
|
<subsystem xmlns="urn:jboss:domain:naming:2.0">
|
||||||
<remote-naming/>
|
<remote-naming/>
|
||||||
</subsystem>
|
</subsystem>
|
||||||
|
@ -676,7 +676,7 @@
|
||||||
</handlers>
|
</handlers>
|
||||||
<application-security-domains>
|
<application-security-domains>
|
||||||
<application-security-domain name="other" security-domain="ApplicationDomain"/>
|
<application-security-domain name="other" security-domain="ApplicationDomain"/>
|
||||||
</application-security-domains>
|
</application-security-domains>
|
||||||
<filters>
|
<filters>
|
||||||
<filter name="proxy-peer" module="io.undertow.core"
|
<filter name="proxy-peer" module="io.undertow.core"
|
||||||
class-name="io.undertow.server.handlers.ProxyPeerAddressHandler"/>
|
class-name="io.undertow.server.handlers.ProxyPeerAddressHandler"/>
|
||||||
|
@ -690,7 +690,7 @@
|
||||||
</interface>
|
</interface>
|
||||||
<interface name="jgroups">
|
<interface name="jgroups">
|
||||||
{% if ansible_default_ipv4 is defined %}
|
{% 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) | ansible.utils.ipaddr('net') }}"/>
|
||||||
{% else %}
|
{% else %}
|
||||||
<any-address />
|
<any-address />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue