2020-06-18 18:23:12 +02:00
|
|
|
---
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_major_version: '19'
|
2020-06-19 19:10:02 +02:00
|
|
|
keycloak_minor_version: '0'
|
|
|
|
keycloak_point_version: '2'
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_openjdk_runtime_version: 11
|
|
|
|
keycloak_openjdk_version:
|
|
|
|
- '{{ keycloak_openjdk_runtime_version }}'
|
|
|
|
keycloak_openjdk_bin: '/usr/lib/jvm/java-{{ keycloak_openjdk_runtime_version}}-openjdk-amd64/bin/java'
|
2020-06-19 19:10:02 +02:00
|
|
|
keycloak_install_dir: '/opt/keycloak'
|
2021-02-15 19:58:53 +01:00
|
|
|
keycloak_distribution_data_directory: '{{ keycloak_install_dir }}/{{ keycloak_distribution }}/{{ keycloak_wildfly_mode }}'
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_conf_directory: '{{ keycloak_runtime_home }}/conf'
|
|
|
|
keycloak_providers_directory: '{{ keycloak_runtime_home }}/providers'
|
|
|
|
keycloak_data_directory: '{{ keycloak_runtime_home }}/data'
|
2020-06-19 19:10:02 +02:00
|
|
|
keycloak_log_directory: '/var/log/keycloak'
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_optimize_build_at_startup: true
|
|
|
|
keycloak_upgrade_db_at_startup: false
|
|
|
|
keycloak_disabled_features: []
|
|
|
|
keycloak_preview_features: []
|
|
|
|
keycloak_remote_providers: []
|
|
|
|
# - name: 'foo'
|
|
|
|
# state: 'present'
|
|
|
|
# maven_repo_url: ''
|
|
|
|
# maven_id: ''
|
|
|
|
# maven_group_id: ''
|
|
|
|
# maven_extension: ''
|
|
|
|
# maven_version: ''
|
|
|
|
|
|
|
|
keycloak_external_avatar_dir_enabled: false
|
|
|
|
keycloak_external_avatar_dir: '{{ keycloak_data_directory }}/avatar'
|
|
|
|
|
|
|
|
keycloak_https_enabled: true
|
|
|
|
keycloak_https_protocols: 'TLSv1.3'
|
|
|
|
keycloak_letsencrypt_certs: '{{ keycloak_https_enabled }}'
|
|
|
|
keycloak_http_enabled: "{% if keycloak_https_enabled %}'false'{% else %}'true'{% endif %}"
|
2020-06-19 19:10:02 +02:00
|
|
|
keycloak_listen: '127.0.0.1'
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_http_port: 8080
|
|
|
|
keycloak_https_port: 8443
|
|
|
|
keycloak_set_hostname: false
|
|
|
|
keycloak_hostname: '{{ ansible_fqdn }}'
|
|
|
|
|
|
|
|
keycloak_log_handlers: console
|
|
|
|
keycloak_log_console_format: '%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n'
|
|
|
|
keycloak_log_console_output: default
|
|
|
|
keycloak_log_file: '{{ keycloak_log_directory }}/keycloak.log'
|
|
|
|
keycloak_log_file_format: '%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n'
|
|
|
|
keycloak_log_level: warning
|
|
|
|
# We keep those together because some health checks are available only when the metrics are enabled.
|
|
|
|
keycloak_metrics_and_health_checks_enabled: 'true'
|
2020-06-19 19:10:02 +02:00
|
|
|
|
2022-07-18 11:07:55 +02:00
|
|
|
keycloak_use_external_db: true
|
2020-07-01 12:56:13 +02:00
|
|
|
# postgresql is the only supported choice for the time being
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_db_vendor: 'postgres'
|
2020-06-19 19:10:02 +02:00
|
|
|
keycloak_database_name: keycloak
|
|
|
|
keycloak_database_user: keycloak_u
|
2022-07-18 11:07:55 +02:00
|
|
|
# keycloak_database_password: 'define it into a vault file'
|
2020-06-19 19:10:02 +02:00
|
|
|
keycloak_database_host: 'localhost'
|
|
|
|
keycloak_database_max_pool_size: '50'
|
2022-07-18 11:07:55 +02:00
|
|
|
keycloak_database_jboss_connection_checker: true
|
2021-02-16 20:07:12 +01:00
|
|
|
keycloak_database_idle_timeouts_min: 1
|
2020-06-19 20:13:43 +02:00
|
|
|
keycloak_admin_user: kadmin
|
2022-07-18 11:07:55 +02:00
|
|
|
# keycloak_admin_password: 'define it into a vault file'
|
2020-06-20 00:58:19 +02:00
|
|
|
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_before_nginx: false
|
|
|
|
keycloak_before_apache_httpd: false
|
2022-07-18 11:07:55 +02:00
|
|
|
keycloak_behind_reverse_proxy: true
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_reverse_proxy_type: '{% if keycloak_local_certs %}reencrypt{% else %}edge{% endif %}'
|
|
|
|
keycloak_reverse_proxy_infinispan_attach_route: 'true'
|
2021-02-15 19:58:53 +01:00
|
|
|
|
2022-09-23 13:52:06 +02:00
|
|
|
keycloak_cluster: false
|
|
|
|
keycloak_cache_type: ispn
|
|
|
|
keycloak_cache_stack: tcp
|
|
|
|
keycloak_cache_container_name: keycloak
|