mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Add note about precautions of using become with fetch. Addresses https://github.com/ansible/ansible/issues/14064
This commit is contained in:
@@ -68,6 +68,13 @@ requirements: []
|
|||||||
author:
|
author:
|
||||||
- "Ansible Core Team"
|
- "Ansible Core Team"
|
||||||
- "Michael DeHaan"
|
- "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 = '''
|
EXAMPLES = '''
|
||||||
|
|||||||
Reference in New Issue
Block a user