mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clarify doc for get_url
Move a sentence from doc for the "force" option to that for the "dest" option.
This commit is contained in:
parent
77d5a18392
commit
7e557663c2
1 changed files with 3 additions and 3 deletions
|
@ -52,6 +52,8 @@ options:
|
||||||
- If C(dest) is a directory, either the server provided filename or, if
|
- If C(dest) is a directory, either the server provided filename or, if
|
||||||
none provided, the base name of the URL on the remote server will be
|
none provided, the base name of the URL on the remote server will be
|
||||||
used. If a directory, C(force) has no effect.
|
used. If a directory, C(force) has no effect.
|
||||||
|
If C(dest) is a directory, the file will always be
|
||||||
|
downloaded (regardless of the force option), but replaced only if the contents changed.
|
||||||
required: true
|
required: true
|
||||||
default: null
|
default: null
|
||||||
force:
|
force:
|
||||||
|
@ -61,8 +63,6 @@ options:
|
||||||
will only be downloaded if the destination does not exist. Generally
|
will only be downloaded if the destination does not exist. Generally
|
||||||
should be C(yes) only for small local files. Prior to 0.6, this module
|
should be C(yes) only for small local files. Prior to 0.6, this module
|
||||||
behaved as if C(yes) was the default.
|
behaved as if C(yes) was the default.
|
||||||
Has no effect if C(dest) is a directory - the file will always be
|
|
||||||
downloaded, but replaced only if the contents changed.
|
|
||||||
version_added: "0.7"
|
version_added: "0.7"
|
||||||
required: false
|
required: false
|
||||||
choices: [ "yes", "no" ]
|
choices: [ "yes", "no" ]
|
||||||
|
|
Loading…
Reference in a new issue