AFAIK, that is not possible, but it would be an important feature. Proxy
support is too often forgotten in a lot of applications.

On 19 March 2015 at 10:08, Timo Ahokas <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/ansible-project/88506b6a-47b0-42ad-8960-e6e9eb35a2eb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEhzMJD04Pov9Vyeg-ftTTX3TQpezunRMji3sM2GjTpmYOnLng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to