Skip to content

Commit 9b0a0dd

Browse files
authored
fix squid port default (#405)
1 parent 9b8ff9f commit 9b0a0dd

File tree

1 file changed

+1
-1
lines changed
  • environments/common/inventory/group_vars/all

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# 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 '' }}"
2+
proxy_http_proxy: "{{ 'http://' + hostvars[groups['squid'].0].api_address + ':' + (squid_http_port | string) if groups['squid'] else '' }}"

0 commit comments

Comments
 (0)