Commit 2d575ddd by Michael DeHaan

Update fetch documentation

parent c3e625e6
...@@ -7,9 +7,9 @@ short_description: Fetches a file from remote nodes ...@@ -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: ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment