Skip to content

Commit 2a0ab4e

Browse files
committed
Improve assembling no_proxy string
1 parent 6c9662f commit 2a0ab4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/kayobe/ansible/deployment/deploy-github-runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
custom_env: |
1212
http_proxy={{ http_proxy | default('') }}
1313
https_proxy={{ https_proxy | default('') }}
14-
no_proxy=localhost,127.0.0.1,127.0.0.2,{{ no_proxy | default('') | join(',') }}
14+
no_proxy={{ (['localhost', '127.0.0.1', '127.0.0.2'] + (no_proxy | default([]))) | join(',') }}
1515
when: >
1616
http_proxy is defined or
1717
https_proxy is defined or

0 commit comments

Comments
 (0)