Update fetch documentation

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent e51ee83ec7
commit 44b9bdff7c

@ -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"

Loading…
Cancel
Save