mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clarified that proxy can be changed via an variable.
This commit is contained in:
parent
3270a0adcd
commit
377351f6fd
1 changed files with 8 additions and 3 deletions
|
@ -31,6 +31,12 @@ short_description: Downloads files from HTTP, HTTPS, or FTP to node
|
||||||
description:
|
description:
|
||||||
- Downloads files from HTTP, HTTPS, or FTP to the remote server. The remote
|
- Downloads files from HTTP, HTTPS, or FTP to the remote server. The remote
|
||||||
server I(must) have direct access to the remote resource.
|
server I(must) have direct access to the remote resource.
|
||||||
|
- By default, if an environment variable C(<protocol>_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
|
||||||
|
<http://ansible.cc/docs/playbooks2.html#setting-the-environment-and-working-with-proxies>`_),
|
||||||
|
or by using the use_proxy option.
|
||||||
version_added: "0.6"
|
version_added: "0.6"
|
||||||
options:
|
options:
|
||||||
url:
|
url:
|
||||||
|
@ -58,9 +64,8 @@ options:
|
||||||
aliases: [ "thirsty" ]
|
aliases: [ "thirsty" ]
|
||||||
use_proxy:
|
use_proxy:
|
||||||
description:
|
description:
|
||||||
- By default, if an environment variable C(<protocol>_proxy) is set on
|
- if C(yes), it will no use a proxy, even if one is defined by
|
||||||
the target host, request will be sent through the proxy. To override
|
in an environment variable on the target hosts.
|
||||||
this behaviour, set C(use_proxy=no).
|
|
||||||
required: false
|
required: false
|
||||||
default: yes
|
default: yes
|
||||||
choices: [yes, no]
|
choices: [yes, no]
|
||||||
|
|
Loading…
Reference in a new issue