From 7a0b8f0a4431ddcc1eeaca23c7d6861464731de4 Mon Sep 17 00:00:00 2001 From: Alexandre Bourget Date: Mon, 15 Aug 2016 21:05:51 -0400 Subject: [PATCH] Added support for proxies in the download process. --- roles/download/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml index 40c52f5ea..82333e66c 100644 --- a/roles/download/tasks/main.yml +++ b/roles/download/tasks/main.yml @@ -20,6 +20,10 @@ mode: "{{ download.mode|default(omit) }}" when: "{{ download.enabled|bool }}" run_once: "{{ download_run_once|bool }}" + environment: + http_proxy: "{{ http_proxy }}" + https_proxy: "{{ https_proxy }}" + no_proxy: "{{ no_proxy }}" - name: Extract archives unarchive: