fix(consul): merge join configuration variable
All checks were successful
development / Check commit compliance (push) Successful in 29s
All checks were successful
development / Check commit compliance (push) Successful in 29s
This commit is contained in:
parent
2c9f538cef
commit
c7ed8c09a3
@ -20,6 +20,15 @@
|
|||||||
when:
|
when:
|
||||||
- consul_enable_server
|
- consul_enable_server
|
||||||
|
|
||||||
|
- name: "Consul | Merge join configuration"
|
||||||
|
vars:
|
||||||
|
_config_to_merge: "{{ consul_join_configuration }}"
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
consul_configuration: "{{
|
||||||
|
consul_configuration |
|
||||||
|
combine(_config_to_merge|from_yaml, recursive=true)
|
||||||
|
}}"
|
||||||
|
|
||||||
- name: "Consul | Merge addresses configuration"
|
- name: "Consul | Merge addresses configuration"
|
||||||
vars:
|
vars:
|
||||||
_config_to_merge: "{{ consul_address_configuration }}"
|
_config_to_merge: "{{ consul_address_configuration }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user