Added get_domain function

This commit is contained in:
2025-05-17 14:53:55 +02:00
parent ad51597e2e
commit 3388d3c592
94 changed files with 288 additions and 141 deletions

View File

@@ -1,7 +1,7 @@
# General Configuration
application_id: syncope
database_type: "postgres"
database_password: "{{ domains[application_id].credentials.database_password }}"
database_password: "{{ domains | get_domain(application_id).credentials.database_password }}"
# Application Specific
syncope_keymaster_address: http://localhost:8080/syncope/rest/keymaster
@@ -10,8 +10,8 @@ syncope_paths:
console: console
enduser: enduser
syncope_anonymous_user: "{{ domains[application_id].users.anonymous.username }}"
syncope_anonymous_password: "{{ domains[application_id].credentials.anonymous.password }}"
syncope_anonymous_user: "{{ domains | get_domain(application_id).users.anonymous.username }}"
syncope_anonymous_password: "{{ domains | get_domain(application_id).credentials.anonymous.password }}"
syncope_administrator_user: "{{ domains[application_id].users.administrator.username }}"
syncope_administrator_password: "{{ domains[application_id].credentials.administrator_password }}"
syncope_administrator_user: "{{ domains | get_domain(application_id).users.administrator.username }}"
syncope_administrator_password: "{{ domains | get_domain(application_id).credentials.administrator_password }}"