Update fetch documentation

pull/2345/merge
Michael DeHaan 12 years ago
parent c3e625e6f0
commit 2d575ddd09

@ -7,9 +7,9 @@ short_description: Fetches a file from remote nodes
description:
- 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,
organized by hostname. Note that this module was originally written to
transfer log files that were not necessarily present, therefore, by
default, if the source file is missing, it does not fail ;
organized by hostname. Note that this module is written to transfer
log files that might not be present, so a missing remote file won't
be an error unless fail_on_missing is set to 'yes'.
version_added: "0.2"
options:
src:
@ -28,8 +28,9 @@ options:
required: true
default: null
fail_on_missing:
version_added: 1.1
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
choices: [ "yes", "no" ]
default: "no"

Loading…
Cancel
Save