diff options
author | Matt Martz <matt@sivel.net> | 2016-01-22 11:35:22 -0600 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2016-01-22 11:35:22 -0600 |
commit | 76925ef61331d2f1adc1668deb23dafe09212729 (patch) | |
tree | 180149b5ec2be02e9a5f7aa0722003ceb6578eec | |
parent | 09e2457eb0e811ac293065dd77cd31597ceb2da7 (diff) | |
parent | 3f232beb0a669fd2bad75ec6c87a2227d986c5ce (diff) | |
download | ansible-modules-core-76925ef61331d2f1adc1668deb23dafe09212729.tar.gz |
Merge pull request #2858 from sivel/issue/14064
Add note about precautions of using become with fetch
-rw-r--r-- | files/fetch.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/fetch.py b/files/fetch.py index d0b1371c..4ca191b8 100644 --- a/files/fetch.py +++ b/files/fetch.py @@ -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 = ''' |