Another thing that might trip you up is that C:\Program Files\ is rather more locked down in modern windows versions than it was in older ones, so you might have trouble copying to that location if you don't have full admin privs.
I don't recall specifics now but I know I wound up installing some .exe files not in Program Files as a result of this change during a S2003 to 2012R2 migration. Jon On Friday, October 21, 2016 at 5:02:36 PM UTC+1, Matt Davis wrote: > > 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/72fea07d-ee5b-4015-93fa-1674febbcbef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
