Solved Keycloak Master Email Configuration Update settings

This commit is contained in:
2025-10-11 16:57:36 +02:00
parent ca95079111
commit a526d1adc4
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
- name: "Update REALM mail settings from realm dictionary (SPOT)" - name: "Update {{ KEYCLOAK_REALM }} REALM mail settings from realm dictionary"
include_tasks: _update.yml include_tasks: _update.yml
vars: vars:
kc_object_kind: "realm" kc_object_kind: "realm"

View File

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