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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -