mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Refactor path handling, service conditions and dependencies
- Fixed incorrect filter usage in docker-compose handler (proper use of | path_join). - Improved LetsEncrypt template by joining paths with filenames instead of appending manually. - Enhanced sys-svc-msmtp task with an additional condition to only run if no-reply mailu_token exists. - Updated Keycloak meta to depend on Mailu (ensuring token generation before setup). - Refactored Keycloak import path variables to use path_join consistently. - Adjusted Mailu meta dependency to run after Matomo instead of Keycloak. See: https://chatgpt.com/share/68af13e6-edc0-800f-b76a-a5f427837173
This commit is contained in:
@@ -23,10 +23,10 @@ KEYCLOAK_HEALTH_ENABLED: true
|
||||
|
||||
## Import
|
||||
KEYCLOAK_REALM_IMPORT_ENABLED: "{{ applications | get_app_conf(application_id, 'actions.import_realm') }}"
|
||||
KEYCLOAK_REALM_IMPORT_DIR_HOST: "{{ docker_compose.directories.volumes }}import/"
|
||||
KEYCLOAK_REALM_IMPORT_DIR_HOST: "{{ [docker_compose.directories.volumes,'import'] | path_join }}"
|
||||
KEYCLOAK_REALM_IMPORT_DIR_DOCKER: "/opt/keycloak/data/import/"
|
||||
KEYCLOAK_REALM_IMPORT_FILE_SRC: "import/realm.json.j2"
|
||||
KEYCLOAK_REALM_IMPORT_FILE_DST: "{{ KEYCLOAK_REALM_IMPORT_DIR_HOST }}/realm.json"
|
||||
KEYCLOAK_REALM_IMPORT_FILE_DST: "{{ [KEYCLOAK_REALM_IMPORT_DIR_HOST,'realm.json'] | path_join }}"
|
||||
|
||||
## Credentials
|
||||
KEYCLOAK_ADMIN: "{{ applications | get_app_conf(application_id, 'users.administrator.username') }}"
|
||||
|
Reference in New Issue
Block a user