[ansible-project] Re: copying files stuck after 5th attempt

2018-05-04 Thread Benny L.
Ok, as I read everywhere that winrm is not made for perfomance copy, I 
decided to go with win_get_url module and put the file to copy on the 
webserver. Everything seems pretty smooth and i keep loving ansible and the 
windows modules, even if i used to manage linux servers.

Am Freitag, 4. Mai 2018 11:36:00 UTC+2 schrieb Benny L.:
>
> Hello,
>
> I have following Problem on ansible 2.5.0. I try to copy a folder from my 
> ansible-server(debian) to a windows 10 client using winrm. the playbook 
> itself works pefectly. the problem is, that it has to copy to 20 machines 
> when running the playbook and it stucks after 5th machine. when re-running 
> the playbook the next 5 machines get there files and its stucks afterward. 
>
> the output after the copying from the 5 machines was fine looks like this:
>
> OSError: [Errno 2] No such file or directory: 
> '/root/.ansible/tmp/ansible-local-16474ZG5NC1/tmpbhEdPb'
> fatal: [MACHINE-IP-ADDRESS]: FAILED! => {
> "changed": true,
> "dest": "D:\\DESTPATH",
> "msg": "failed to create tmp zip file: [Errno 2] No such file or 
> directory: '/root/.ansible/tmp/ansible-local-16474ZG5NC1/tmpbhEdPb'",
> "operation": "folder_copy",
> "src": "/SOURCE/PATH/FOLDER"
> }
>
> can anyone help to make this working in one step?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ec19db14-1cd3-4600-9350-101d4769acb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] copying files stuck after 5th attempt

2018-05-04 Thread Benny L.
Hello,

I have following Problem on ansible 2.5.0. I try to copy a folder from my 
ansible-server(debian) to a windows 10 client using winrm. the playbook 
itself works pefectly. the problem is, that it has to copy to 20 machines 
when running the playbook and it stucks after 5th machine. when re-running 
the playbook the next 5 machines get there files and its stucks afterward. 

the output after the copying from the 5 machines was fine looks like this:

OSError: [Errno 2] No such file or directory: 
'/root/.ansible/tmp/ansible-local-16474ZG5NC1/tmpbhEdPb'
fatal: [MACHINE-IP-ADDRESS]: FAILED! => {
"changed": true,
"dest": "D:\\DESTPATH",
"msg": "failed to create tmp zip file: [Errno 2] No such file or directory: 
'/root/.ansible/tmp/ansible-local-16474ZG5NC1/tmpbhEdPb'",
"operation": "folder_copy",
"src": "/SOURCE/PATH/FOLDER"
}

can anyone help to make this working in one step?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/abcd4f58-a877-424a-a333-1d2b821d6e09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.