jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE h2 sa sa {% if keycloak_jdbc[keycloak_jdbc_engine].enabled %} {{ keycloak_jdbc[keycloak_jdbc_engine].connection_url }} {{ keycloak_jdbc[keycloak_jdbc_engine].driver_module_name }} 20 {{ keycloak_jdbc[keycloak_jdbc_engine].db_user }} {{ keycloak_jdbc[keycloak_jdbc_engine].db_password }} {% else %} jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE h2 sa sa {% endif %} {% if keycloak_jdbc[keycloak_jdbc_engine].enabled %} {{ keycloak_jdbc[keycloak_jdbc_engine].driver_class }} {{ keycloak_jdbc[keycloak_jdbc_engine].xa_datasource_class }} {% endif %} org.h2.jdbcx.JdbcDataSource false {% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens", "authenticationSessions" ] %} true org.keycloak.cluster.infinispan.KeycloakHotRodMarshallerFactory false {{ keycloak_remotecache.username }} {{ keycloak_remotecache.password }} {{ keycloak_remotecache.realm | default('default') }} {{ keycloak_remotecache.server_name }} {{ keycloak_remotecache.sasl_mechanism }} {{ keycloak_remotecache.use_ssl }} {{ keycloak_remotecache.trust_store_path }} JKS {{ keycloak_remotecache.trust_store_password }} TOPOLOGY_AWARE {% endfor %} true org.keycloak.cluster.infinispan.KeycloakHotRodMarshallerFactory false {{ keycloak_remotecache.username }} {{ keycloak_remotecache.password }} {{ keycloak_remotecache.realm | default('default') }} {{ keycloak_remotecache.server_name }} {{ keycloak_remotecache.sasl_mechanism }} {{ keycloak_remotecache.use_ssl }} {{ keycloak_remotecache.trust_store_path }} JKS {{ keycloak_remotecache.trust_store_password }} TOPOLOGY_AWARE {% if keycloak_jdbc[keycloak_jdbc_engine].enabled %} java:jboss/datasources/KeycloakDS {{ keycloak_jdbc[keycloak_jdbc_engine].initialize_db }} INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?) DELETE FROM JGROUPSPING WHERE own_addr=? AND cluster_name=? SELECT ping_data FROM JGROUPSPING WHERE cluster_name=? {% endif %} 30000 auth classpath:${jboss.home.dir}/providers/* master 900 2592000 true true ${jboss.home.dir}/themes {% if keycloak_ha_enabled %} {% endif %} jpa basic default ${keycloak.jta.lookup.provider:jboss} ${keycloak.x509cert.lookup.provider:default} default {% if keycloak_modcluster.enabled %} {% endif %} {% if ansible_default_ipv4 is defined %} {% else %} {% endif %} {% if keycloak_modcluster.enabled %} {% endif %}