From 3ed19306f73dabe26d47fe781cdeb8d19f3b0615 Mon Sep 17 00:00:00 2001 From: Yves Dorfsman Date: Sat, 2 Mar 2013 11:42:49 -0700 Subject: [PATCH] Clarified that proxy can be changed via an variable. --- get_url | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/get_url b/get_url index 66f27258228..8c937c794e9 100644 --- a/get_url +++ b/get_url @@ -31,6 +31,12 @@ short_description: Downloads files from HTTP, HTTPS, or FTP to node description: - Downloads files from HTTP, HTTPS, or FTP to the remote server. The remote server I(must) have direct access to the remote resource. + - By default, if an environment variable C(_proxy) is set on + the target host, requests will be sent through that proxy. This + behaviour can be overriden by setting a variable for this task + (see `setting the environment + `_), + or by using the use_proxy option. version_added: "0.6" options: url: @@ -58,9 +64,8 @@ options: aliases: [ "thirsty" ] use_proxy: description: - - By default, if an environment variable C(_proxy) is set on - the target host, request will be sent through the proxy. To override - this behaviour, set C(use_proxy=no). + - if C(yes), it will no use a proxy, even if one is defined by + in an environment variable on the target hosts. required: false default: yes choices: [yes, no]