diff --git a/roles/keycloak/templates/15.0.8/standalone-infinispan.xml.j2 b/roles/keycloak/templates/15.0.8/standalone-infinispan.xml.j2
index 4198b83..be61837 100644
--- a/roles/keycloak/templates/15.0.8/standalone-infinispan.xml.j2
+++ b/roles/keycloak/templates/15.0.8/standalone-infinispan.xml.j2
@@ -631,7 +631,7 @@
-{% if keycloak_modcluster.enabled %}
+{% if keycloak_modcluster.enabled %}
@@ -639,7 +639,7 @@
-{% endif %}
+{% endif %}
@@ -728,7 +728,7 @@
{% if ansible_default_ipv4 is defined %}
-
+
{% else %}
{% endif %}
diff --git a/roles/keycloak/templates/9.0.2/standalone-infinispan.xml.j2 b/roles/keycloak/templates/9.0.2/standalone-infinispan.xml.j2
index 2b2842b..9e0ae66 100644
--- a/roles/keycloak/templates/9.0.2/standalone-infinispan.xml.j2
+++ b/roles/keycloak/templates/9.0.2/standalone-infinispan.xml.j2
@@ -725,7 +725,7 @@
{% if ansible_default_ipv4 is defined %}
-
+
{% else %}
{% endif %}
diff --git a/roles/keycloak/templates/standalone-ha.xml.j2 b/roles/keycloak/templates/standalone-ha.xml.j2
index 026e85c..75df7ab 100644
--- a/roles/keycloak/templates/standalone-ha.xml.j2
+++ b/roles/keycloak/templates/standalone-ha.xml.j2
@@ -584,7 +584,7 @@
-{% if keycloak_modcluster.enabled %}
+{% if keycloak_modcluster.enabled %}
@@ -592,7 +592,7 @@
-{% endif %}
+{% endif %}
@@ -638,7 +638,7 @@
-
+
@@ -652,7 +652,7 @@
{% if ansible_default_ipv4 is defined %}
-
+
{% else %}
{% endif %}
diff --git a/roles/keycloak/templates/standalone-infinispan.xml.j2 b/roles/keycloak/templates/standalone-infinispan.xml.j2
index e326924..30a6e20 100644
--- a/roles/keycloak/templates/standalone-infinispan.xml.j2
+++ b/roles/keycloak/templates/standalone-infinispan.xml.j2
@@ -622,7 +622,7 @@
-{% if keycloak_modcluster.enabled %}
+{% if keycloak_modcluster.enabled %}
@@ -630,7 +630,7 @@
-{% endif %}
+{% endif %}
@@ -676,7 +676,7 @@
-
+
@@ -690,7 +690,7 @@
{% if ansible_default_ipv4 is defined %}
-
+
{% else %}
{% endif %}