We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b8ff9f commit 9b0a0ddCopy full SHA for 9b0a0dd
environments/common/inventory/group_vars/all/proxy.yml
@@ -1,2 +1,2 @@
1
# default proxy address to first squid api address port 3128 if squid group non-empty, else empty string to avoid breaking hostvars
2
-proxy_http_proxy: "{{ 'http://' + hostvars[groups['squid'].0].api_address + ':' + squid_http_port if groups['squid'] else '' }}"
+proxy_http_proxy: "{{ 'http://' + hostvars[groups['squid'].0].api_address + ':' + (squid_http_port | string) if groups['squid'] else '' }}"
0 commit comments