How to set proxy only for a particular ansible task? -


i want set environment proxy particular ansible task get_url module download application internet. other tasks should run without proxy. how achieve task.

you can set proxy per task, so:

get_url:   url=http://remote.host.com/file   dest=/tmp/file http_proxy: http://proxy.example.com:8080 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -