mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Various tweaking to get the module formatter to work for 'make docs' in the docs project. Likely the templates for other module formatting types will have to change
by the time I'm done.
This commit is contained in:
@@ -33,32 +33,32 @@ description:
|
||||
server must have direct access to the remote resource.
|
||||
version_added: "0.6"
|
||||
options:
|
||||
- url:
|
||||
description:
|
||||
- HTTP, HTTPS, or FTP URL
|
||||
required: true
|
||||
default: null
|
||||
aliases: []
|
||||
- dest:
|
||||
description:
|
||||
- absolute path of where to download the file to.
|
||||
- If I(dest) is a directory, the basename of the file on the remote server will be used. If a directory, I(thirsty=yes) must also be set.
|
||||
required: true
|
||||
default: null
|
||||
- thirsty:
|
||||
description:
|
||||
- if C(yes), will download the file every time and replace the
|
||||
file if the contents change. if C(no), the file will only be downloaded if
|
||||
the destination does not exist. Generally should be C(yes) only for small
|
||||
local files. prior to 0.6, acts if C(yes) by default.
|
||||
version_added: "0.7"
|
||||
required: false
|
||||
choices: [ "yes", "no" ]
|
||||
default: "no"
|
||||
- others:
|
||||
description:
|
||||
- all arguments accepted by the M(file) module also work here
|
||||
required: false
|
||||
url:
|
||||
description:
|
||||
- HTTP, HTTPS, or FTP URL
|
||||
required: true
|
||||
default: null
|
||||
aliases: []
|
||||
dest:
|
||||
description:
|
||||
- absolute path of where to download the file to.
|
||||
- If I(dest) is a directory, the basename of the file on the remote server will be used. If a directory, I(thirsty=yes) must also be set.
|
||||
required: true
|
||||
default: null
|
||||
thirsty:
|
||||
description:
|
||||
- if C(yes), will download the file every time and replace the
|
||||
file if the contents change. if C(no), the file will only be downloaded if
|
||||
the destination does not exist. Generally should be C(yes) only for small
|
||||
local files. prior to 0.6, acts if C(yes) by default.
|
||||
version_added: "0.7"
|
||||
required: false
|
||||
choices: [ "yes", "no" ]
|
||||
default: "no"
|
||||
others:
|
||||
description:
|
||||
- all arguments accepted by the M(file) module also work here
|
||||
required: false
|
||||
examples:
|
||||
- code: get_url url=http://example.com/path/file.conf dest=/etc/foo.conf mode=0440
|
||||
description: Obtain and install config file
|
||||
|
||||
Reference in New Issue
Block a user