fix typo in templates

This commit is contained in:
Guido Grazioli 2023-06-10 18:37:58 +02:00
parent 832432b86c
commit 14e7b402b7
2 changed files with 2 additions and 2 deletions

View file

@ -662,7 +662,7 @@
<inet-address value="{{ keycloak_management_port_bind_address }}"/>
</interface>
<interface name="jgroups">
{% keycloak_jgroups_subnet is defined and keycloak_jgroups_subnet | length > 0 %}
{% if keycloak_jgroups_subnet is defined and keycloak_jgroups_subnet | length > 0 %}
<subnet-match value="{{ keycloak_jgroups_subnet }}"/>
{% elif ansible_default_ipv4 is defined and (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ansible.utils.ipaddr('net') | length > 0 %}
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ansible.utils.ipaddr('net') }}"/>

View file

@ -700,7 +700,7 @@
<inet-address value="{{ keycloak_management_port_bind_address }}"/>
</interface>
<interface name="jgroups">
{% keycloak_jgroups_subnet is defined and keycloak_jgroups_subnet | length > 0 %}
{% if keycloak_jgroups_subnet is defined and keycloak_jgroups_subnet | length > 0 %}
<subnet-match value="{{ keycloak_jgroups_subnet }}"/>
{% elif ansible_default_ipv4 is defined and (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ansible.utils.ipaddr('net') | length > 0 %}
<subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ansible.utils.ipaddr('net') }}"/>