Added Email Configuration for Keycloak Master Realm

This commit is contained in:
2025-10-11 16:45:50 +02:00
parent e410d66cb4
commit ca95079111
5 changed files with 17 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
- name: "Update REALM mail settings from realm dictionary (SPOT)"
include_tasks: _update.yml
vars:
kc_object_kind: "realm"
kc_lookup_field: "id"
kc_lookup_value: "{{ KEYCLOAK_REALM }}"
kc_desired:
smtpServer: "{{ KEYCLOAK_DICTIONARY_REALM.smtpServer | default({}, true) }}"
kc_merge_path: "smtpServer"
no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}"