1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update fetch documentation

This commit is contained in:
Michael DeHaan 2013-03-17 23:17:56 -04:00
parent c3e625e6f0
commit 2d575ddd09

View file

@ -7,9 +7,9 @@ short_description: Fetches a file from remote nodes
description: description:
- This module works like M(copy), but in reverse. It is used for fetching - This module works like M(copy), but in reverse. It is used for fetching
files from remote machines and storing them locally in a file tree, files from remote machines and storing them locally in a file tree,
organized by hostname. Note that this module was originally written to organized by hostname. Note that this module is written to transfer
transfer log files that were not necessarily present, therefore, by log files that might not be present, so a missing remote file won't
default, if the source file is missing, it does not fail ; be an error unless fail_on_missing is set to 'yes'.
version_added: "0.2" version_added: "0.2"
options: options:
src: src:
@ -28,8 +28,9 @@ options:
required: true required: true
default: null default: null
fail_on_missing: fail_on_missing:
version_added: 1.1
description: description:
- Makes it fails when the source file is missing. - Makes it fails when the source file is missing. (Option is new in 1.1)
required: false required: false
choices: [ "yes", "no" ] choices: [ "yes", "no" ]
default: "no" default: "no"