fetch: changed docs around behaviour for default fail_on_missing

pull/36526/head
Jordan Borean 8 years ago
parent 8b6184472b
commit a3e02a2417
No known key found for this signature in database
GPG Key ID: 2AAC89085FBBDAB5

@ -41,12 +41,10 @@ options:
version_added: "1.1"
description:
- When set to 'yes', the task will fail if the remote file cannot be
read for any reason. Prior to Ansible-2.4, setting this would only fail
if the source file was missing.
- The default was changed to "yes" in Ansible-2.4.
read for any reason.
required: false
choices: [ "yes", "no" ]
default: "yes"
default: "no"
validate_checksum:
version_added: "1.4"
description:
@ -73,11 +71,6 @@ notes:
depending on the file size can consume all available memory on the
remote or local hosts causing a C(MemoryError). Due to this it is
advisable to run this module without C(become) whenever possible.
- Prior to Ansible-2.4 this module would not fail if reading the remote
file was impossible unless fail_on_missing was set. In Ansible-2.4+,
playbook authors are encouraged to use fail_when or ignore_errors to
get this ability. They may also explicitly set fail_on_missing to False
to get the non-failing behaviour.
- This module is also supported for Windows targets.
'''

Loading…
Cancel
Save