Improve proxy (#1771)

* Set no_proxy to all local ips

* Use proxy settings on all necessary tasks
This commit is contained in:
Matthew Mosesohn
2017-10-11 19:47:27 +01:00
committed by GitHub
parent 83be0735cd
commit eb0dcf6063
10 changed files with 46 additions and 11 deletions

View File

@@ -21,6 +21,7 @@
until: "'OK' in get_url_result.msg or 'file already exists' in get_url_result.msg"
retries: 4
delay: "{{ retry_stagger | random + 3 }}"
environment: "{{ proxy_env }}"
when:
- download.enabled|bool
- not download.container|bool
@@ -108,6 +109,7 @@
until: pull_task_result|succeeded
retries: 4
delay: "{{ retry_stagger | random + 3 }}"
environment: "{{ proxy_env }}"
when:
- download.enabled|bool
- download.container|bool