jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE h2 sa sa {% if keycloak_jdbc.postgres.enabled %} {{ keycloak_jdbc.postgres.connection_url }} {{ keycloak_jdbc.postgres.driver_module_name }} 20 {{ keycloak_jdbc.postgres.db_user }} {{ keycloak_jdbc.postgres.db_password }} {% else %} jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE h2 sa sa {% endif %} {% if keycloak_jdbc.postgres.enabled %} org.postgresql.Driver org.postgresql.xa.PGXADataSource {% endif %} org.h2.jdbcx.JdbcDataSource false {% for cachename in [ "sessions", "offlineSessions", "clientSessions", "offlineClientSessions", "loginFailures", "actionTokens" ] %} 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 | default('SCRAM-SHA-512') }} false {{ keycloak_remotecache.trust_store_path | default('/etc/truststore/truststore.jks') }} JKS {{ keycloak_remotecache.trust_store_password | default("changeme") }} {% 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 | default('SCRAM-SHA-512') }} false {{ keycloak_remotecache.trust_store_path | default('/etc/truststore/truststore.jks') }} JKS {{ keycloak_remotecache.trust_store_password | default("changeme") }} {% 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 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 %}