70 lines
2.9 KiB
YAML
70 lines
2.9 KiB
YAML
|
---
|
||
|
### Configuration specific to keycloak
|
||
|
keycloak_quarkus_version: 17.0.1
|
||
|
keycloak_quarkus_archive: "keycloak-{{ keycloak_quarkus_version }}.zip"
|
||
|
keycloak_quarkus_download_url: "https://github.com/keycloak/keycloak/releases/download/{{ keycloak_quarkus_version }}/{{ keycloak_quarkus_archive }}"
|
||
|
keycloak_quarkus_installdir: "{{ keycloak_quarkus_dest }}/keycloak-{{ keycloak_quarkus_version }}"
|
||
|
|
||
|
# whether to install from local archive
|
||
|
keycloak_quarkus_offline_install: False
|
||
|
|
||
|
### Install location and service settings
|
||
|
keycloak_quarkus_jvm_package: java-11-openjdk-headless
|
||
|
keycloak_quarkus_dest: /opt/keycloak
|
||
|
keycloak_quarkus_home: "{{ keycloak_quarkus_installdir }}"
|
||
|
keycloak_quarkus_config_dir: "{{ keycloak_quarkus_home }}/conf"
|
||
|
keycloak_quarkus_service_user: keycloak
|
||
|
keycloak_quarkus_service_group: keycloak
|
||
|
keycloak_quarkus_service_pidfile: "/run/keycloak.pid"
|
||
|
keycloak_quarkus_configure_firewalld: False
|
||
|
|
||
|
### administrator console password
|
||
|
keycloak_quarkus_admin_user: admin
|
||
|
keycloak_quarkus_admin_pass: ''
|
||
|
keycloak_quarkus_master_realm: master
|
||
|
|
||
|
### Configuration settings
|
||
|
keycloak_quarkus_bind_address: 0.0.0.0
|
||
|
keycloak_quarkus_host: localhost
|
||
|
keycloak_quarkus_http_port: 8080
|
||
|
keycloak_quarkus_https_port: 8443
|
||
|
keycloak_quarkus_ajp_port: 8009
|
||
|
keycloak_quarkus_jgroups_port: 7600
|
||
|
keycloak_quarkus_java_opts: "-Xms1024m -Xmx2048m"
|
||
|
|
||
|
### Enable configuration for database backend, clustering and remote caches on infinispan
|
||
|
keycloak_quarkus_ha_enabled: False
|
||
|
### Enable database configuration, must be enabled when HA is configured
|
||
|
keycloak_quarkus_db_enabled: "{{ True if keycloak_quarkus_ha_enabled else False }}"
|
||
|
|
||
|
### keycloak frontend url
|
||
|
keycloak_quarkus_http_relative_path: auth
|
||
|
keycloak_quarkus_frontend_url: http://localhost:8080/auth
|
||
|
|
||
|
keycloak_quarkus_metrics_enabled: False
|
||
|
|
||
|
### infinispan remote caches access (hotrod)
|
||
|
keycloak_quarkus_ispn_user: supervisor
|
||
|
keycloak_quarkus_ispn_pass: supervisor
|
||
|
keycloak_quarkus_ispn_url: localhost
|
||
|
keycloak_quarkus_ispn_sasl_mechanism: SCRAM-SHA-512
|
||
|
keycloak_quarkus_ispn_use_ssl: False
|
||
|
# if ssl is enabled, import ispn server certificate here
|
||
|
keycloak_quarkus_ispn_trust_store_path: /etc/pki/java/cacerts
|
||
|
keycloak_quarkus_ispn_trust_store_password: changeit
|
||
|
|
||
|
### database backend engine: values [ 'postgres', 'mariadb' ]
|
||
|
keycloak_quarkus_jdbc_engine: postgres
|
||
|
### database backend credentials
|
||
|
keycloak_quarkus_db_user: keycloak-user
|
||
|
keycloak_quarkus_db_pass: keycloak-pass
|
||
|
keycloak_quarkus_jdbc_url: "{{ keycloak_quarkus_default_jdbc[keycloak_quarkus_jdbc_engine].url }}"
|
||
|
keycloak_quarkus_jdbc_driver_version: "{{ keycloak_quarkus_default_jdbc[keycloak_quarkus_jdbc_engine].version }}"
|
||
|
# override the variables above, following defaults show minimum supported versions
|
||
|
keycloak_quarkus_default_jdbc:
|
||
|
postgres:
|
||
|
url: 'jdbc:postgresql://localhost:5432/keycloak'
|
||
|
version: 9.4.1212
|
||
|
mariadb:
|
||
|
url: 'jdbc:mariadb://localhost:3306/keycloak'
|
||
|
version: 2.7.4
|