unable to copy large no.of files using win_copy module

7 views
Skip to first unread message

shyam rpm

unread,
Jul 3, 2019, 1:59:55 PM7/3/19
to Ansible Project
Hi,

I tried to copy files between network shares on windows machines and the size of the folder is 19GB. After copying 5GB of data getting the following error.


"Exception calling \"Invoke\" with \r\n\"0\" argument(s): \"The running command stopped because the preference variable \r\n"ErrorActionPreference\" common parameter set to stop: Cannot find path"

is there any limitations for win_copy module ?. We can't use win_get_url in our server environment. 

The play book is, 

- win_copy:
     src: "\\\\192.168.1.1\\instance\\data"
     dest: "\\\\192.168.1.2\\backup\\"
     force: true
     remote_src: true
     become_method: runas
     become_user: "admin@adroot"
     become: true

Thanks and regards,
Shyam.
Reply all
Reply to author
Forward
0 new messages