Hi,

We're working in an environment where all access outside needs to go 
through HTTP/HTTPS proxies. We have previously solved this by defining a 
global environment variable with the necessary proxy definitions 
(http_proxy, https_proxy, no_proxy) and then have passed that down to each 
task with "environment". But this means we need to patch most 
public/external playbooks for the tasks that require external access (e.g. 
package installs, resource download etc).

Is there any way to make the proxy environment automatically available for 
all tasks without adding the "environment: proxy_env" for all individual 
tasks?

Thanks,
Timo

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/88506b6a-47b0-42ad-8960-e6e9eb35a2eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to