Skip to content

Commit ece4722

Browse files
authored
Merge pull request #270 from stackhpc/fix/no_proxy_localhost
Default to no_proxy localhost in proxy role
2 parents 997aef8 + 68896e5 commit ece4722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/proxy/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# proxy_http_proxy:
22
proxy_https_proxy: "{{ proxy_http_proxy }}"
3-
proxy_no_proxy: "{{ (groups['all'] + hostvars.values() | map(attribute='ansible_host')) | sort | join(',') }}"
3+
proxy_no_proxy: "{{ (['localhost', '127.0.0.1'] + groups['all'] + hostvars.values() | map(attribute='ansible_host')) | sort | join(',') }}"
44
proxy_dnf: true
55
proxy_systemd: true

0 commit comments

Comments
 (0)