Add note about precautions of using become with fetch. Addresses https://github.com/ansible/ansible/issues/14064

This commit is contained in:
Matt Martz 2016-01-22 09:59:38 -06:00 committed by Matt Clay
parent b6ff36bed3
commit 9e686c7294

View file

@ -68,6 +68,13 @@ requirements: []
author:
- "Ansible Core Team"
- "Michael DeHaan"
notes:
- When running fetch with C(become), the M(slurp) module will also be
used to fetch the contents of the file for determining the remote
checksum. This effectively doubles the transfer size, and
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.
'''
EXAMPLES = '''