ansible-role-keycloak/defaults/main.yml

81 lines
3.0 KiB
YAML
Raw Normal View History

2020-06-18 18:23:12 +02:00
---
2022-09-23 13:52:06 +02:00
keycloak_major_version: '19'
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'
keycloak_install_dir: '/opt/keycloak'
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'
keycloak_log_directory: '/var/log/keycloak'
2022-09-24 18:12:14 +02:00
keycloak_service_name: keycloak
2022-09-23 13:52:06 +02:00
keycloak_optimize_build_at_startup: true
keycloak_upgrade_db_at_startup: false
keycloak_configuration_files:
- keycloak.conf
- cache-ispn.xml
- quarkus.properties
2022-09-23 13:52:06 +02:00
keycloak_disabled_features: []
2022-09-26 19:07:36 +02:00
keycloak_preview_features: []
2022-09-23 13:52:06 +02:00
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 %}"
2022-09-25 14:31:50 +02:00
# Set to /auth to be backward compatible with the old admin console
keycloak_http_relative_path: /
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 }}'
# console, file, gelf
2022-09-23 13:52:06 +02:00
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
keycloak_log_backup_index: 10
keycloak_log_max_size: '10M'
keycloak_log_rotate_on_boot: 'true'
2022-09-23 13:52:06 +02:00
# We keep those together because some health checks are available only when the metrics are enabled.
keycloak_metrics_and_health_checks_enabled: 'true'
2022-07-18 11:07:55 +02:00
keycloak_use_external_db: true
# postgresql is the only supported choice for the time being
2022-09-23 13:52:06 +02:00
keycloak_db_vendor: 'postgres'
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'
keycloak_database_host: 'localhost'
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'
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-24 18:56:56 +02:00
keycloak_reverse_proxy_type: '{% if keycloak_https_enabled %}reencrypt{% else %}edge{% endif %}'
2022-09-23 13:52:06 +02:00
keycloak_reverse_proxy_infinispan_attach_route: 'true'
2022-09-23 13:52:06 +02:00
keycloak_cluster: false
keycloak_cache_type: ispn
keycloak_cache_stack: tcp
keycloak_cache_container_name: keycloak