1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

document file size limit for win_copy module

This commit is contained in:
Jon Hawkesworth 2015-06-19 08:52:43 +01:00 committed by Matt Clay
parent 56957ca45e
commit a00d86946d

View file

@ -47,9 +47,15 @@ options:
default: null default: null
author: "Jon Hawkesworth (@jhawkesworth)" author: "Jon Hawkesworth (@jhawkesworth)"
notes: notes:
- The "win_copy" module recursively copy facility does not scale to lots (>hundreds) of files. - The "win_copy" module is best used for small files only.
Instead, you may find it better to create files locally, perhaps using win_template, and This module should **not** be used for files bigger than 3Mb as
then use win_get_url to fetch them from your managed hosts into the correct location. this will result in a 500 response from the winrm host
and it will not be possible to connect via winrm again until the
windows remote management service has been restarted on the
windows host.
Files larger than 1Mb will take minutes to transfer.
The recommended way to transfer large files is using win_get_url
or collecting from a windows file share folder.
''' '''
EXAMPLES = ''' EXAMPLES = '''