The win_robocopy extras module should probably cover your needs...

On Thursday, October 20, 2016 at 10:56:25 PM UTC-7, Mike Fennemore wrote:
>
> When using a Centos Ansible control machine connecting to Windows server, 
> is there a way to copy/move files on the Windows system? Win_copy works 
> well for copying to the Windows system but doesn't seem to be able to fit 
> this use. In particular I have tried moving/copying files using 
> raw,win_command and win_shell with the catch that the file paths have 
> spaces in them. i.e copy \*.* c:\program files\app\*.*

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/32b17a9f-3e86-4ca3-a16b-b9fa2001d344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to