feat(vault): adjust variable merging behaviour for allowing multiple tcp and unix socket listeners
All checks were successful
development / Check commit compliance (push) Successful in 8s
All checks were successful
development / Check commit compliance (push) Successful in 8s
This commit is contained in:
parent
f73b7bb63e
commit
ca65a44eac
@ -6,20 +6,24 @@
|
|||||||
vars:
|
vars:
|
||||||
_config_to_merge: "{{ vault_tls_listener_configuration }}"
|
_config_to_merge: "{{ vault_tls_listener_configuration }}"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
vault_listener_configuration: "{{
|
vault_listener_configuration: >-
|
||||||
vault_listener_configuration |
|
{{
|
||||||
combine(_config_to_merge, recursive=true)
|
vault_listener_configuration |
|
||||||
}}"
|
zip(vault_tls_listener_configuration) |
|
||||||
|
map('combine', list_merge='append', recursive=true) |
|
||||||
|
list
|
||||||
|
}}
|
||||||
when: vault_enable_tls
|
when: vault_enable_tls
|
||||||
|
|
||||||
- name: "Vault | Merge extra listener configuration"
|
- name: "Vault | Merge extra listener configuration"
|
||||||
vars:
|
vars:
|
||||||
_config_to_merge: "{{ vault_extra_listener_configuration }}"
|
_config_to_merge: "{{ vault_extra_listener_configuration }}"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
vault_listener_configuration: "{{
|
vault_listener_configuration: >-
|
||||||
vault_listener_configuration |
|
{{
|
||||||
combine(_config_to_merge, recursive=true)
|
vault_listener_configuration +
|
||||||
}}"
|
vault_extra_listener_configuration
|
||||||
|
}}
|
||||||
|
|
||||||
- name: "Vault | Add certificates directory to extra_files_dir"
|
- name: "Vault | Add certificates directory to extra_files_dir"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
Loading…
Reference in New Issue
Block a user