mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 04:49:40 +01:00
Solved redirected_domains merge
This commit is contained in:
parent
7781083161
commit
75ff756808
@ -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