mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-23 08:22:25 +02:00
Solved redirected_domains merge
This commit is contained in:
parent
7781083161
commit
75ff756808
@ -13,7 +13,7 @@ primary_domain: "{{primary_domain_sld}}.{{primary_domain_tld}}" # Primar
|
|||||||
# Administrator
|
# Administrator
|
||||||
administrator_username: "administrator" # Username of the administrator
|
administrator_username: "administrator" # Username of the administrator
|
||||||
administrator_email: "{{administrator_username}}@{{primary_domain}}" # Email of the administrator
|
administrator_email: "{{administrator_username}}@{{primary_domain}}" # Email of the administrator
|
||||||
#user_administrator_initial_password: EXAMPLE_PASSWORD_123456 # Example initialisation password needs to be set in inventory file
|
#user_administrator_initial_password: EXAMPLE_PASSWORD_123456 # Example initialisation password needs to be set in inventory file
|
||||||
|
|
||||||
# Test Email
|
# Test Email
|
||||||
test_email: "test@{{primary_domain}}"
|
test_email: "test@{{primary_domain}}"
|
||||||
|
@ -10,7 +10,12 @@
|
|||||||
domains: "{{ defaults_domains | combine(domains | default({}, true), recursive=True) }}"
|
domains: "{{ defaults_domains | combine(domains | default({}, true), recursive=True) }}"
|
||||||
- name: Merge redirect domain definitions
|
- name: Merge redirect domain definitions
|
||||||
set_fact:
|
set_fact:
|
||||||
redirect_domain_mappings: "{{ defaults_redirect_domain_mappings | combine(redirect_domain_mappings | default({}, true), recursive=True) }}"
|
merged_redirect_domain_mappings: >-
|
||||||
|
{{
|
||||||
|
(defaults_redirect_domain_mappings | items2dict(key_name='source', value_name='target'))
|
||||||
|
| combine((redirect_domain_mappings | items2dict(key_name='source', value_name='target')), recursive=True)
|
||||||
|
| dict2items
|
||||||
|
}}
|
||||||
- name: Merge application definitions
|
- name: Merge application definitions
|
||||||
set_fact:
|
set_fact:
|
||||||
applications: "{{ defaults_applications | combine(applications | default({}, true), recursive=True) }}"
|
applications: "{{ defaults_applications | combine(applications | default({}, true), recursive=True) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user