From 3df7a1a2e1f326f3cb3eb686897203b1d9bee335 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Thu, 20 Jan 2022 20:56:49 +0100 Subject: [PATCH] fix: dblock for db migration / fix: ejb dist caches --- .../templates/standalone-infinispan.xml.j2 | 59 +++++++++++-------- roles/keycloak/templates/standalone.xml.j2 | 9 +++ 2 files changed, 45 insertions(+), 23 deletions(-) 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 %}