diff --git a/roles/keycloak/templates/standalone-infinispan.xml.j2 b/roles/keycloak/templates/standalone-infinispan.xml.j2
index e73bf19..cceed6e 100644
--- a/roles/keycloak/templates/standalone-infinispan.xml.j2
+++ b/roles/keycloak/templates/standalone-infinispan.xml.j2
@@ -206,11 +206,11 @@
-
+
-
+
@@ -368,12 +368,13 @@
-
-
+
+
+
-
-
+
+
@@ -383,8 +384,7 @@
-
-{% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens" ] %}
+{% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens", "authenticationSessions" ] %}
-
-
+
+
+
-
+
-
-
+
+
+
-
-
-
+
+
-
-
+
+
+
-
-
-
-
+
-
+
+
+
+
+
+
@@ -547,6 +551,15 @@
true
${jboss.home.dir}/themes
+{% if keycloak_ha_enabled %}
+
+
+
+
+
+
+
+{% endif %}
diff --git a/roles/keycloak/templates/standalone.xml.j2 b/roles/keycloak/templates/standalone.xml.j2
index b48883a..14fd3fb 100644
--- a/roles/keycloak/templates/standalone.xml.j2
+++ b/roles/keycloak/templates/standalone.xml.j2
@@ -446,6 +446,15 @@
true
${jboss.home.dir}/themes
+{% if keycloak_ha_enabled %}
+
+
+
+
+
+
+
+{% endif %}