Modify the populate no_proxy task to use a combine rather than relying on the hash_behaviour setting to be set to merge rather than replace (#6112) (#6346)
Co-authored-by: Cody Seavey <seavey.cody@gmail.com>
This commit is contained in:
parent
d3e8fd808e
commit
587f7b33a7
1 changed files with 4 additions and 3 deletions
|
@ -26,6 +26,7 @@
|
||||||
- name: Populates no_proxy to all hosts
|
- name: Populates no_proxy to all hosts
|
||||||
set_fact:
|
set_fact:
|
||||||
no_proxy: "{{ hostvars.localhost.no_proxy_prepare }}"
|
no_proxy: "{{ hostvars.localhost.no_proxy_prepare }}"
|
||||||
proxy_env:
|
proxy_env: "{{ proxy_env | combine({
|
||||||
no_proxy: "{{ hostvars.localhost.no_proxy_prepare }}"
|
'no_proxy': hostvars.localhost.no_proxy_prepare,
|
||||||
NO_PROXY: "{{ hostvars.localhost.no_proxy_prepare }}"
|
'NO_PROXY': hostvars.localhost.no_proxy_prepare
|
||||||
|
}) }}"
|
||||||
|
|
Loading…
Reference in a new issue