What version of Ansible are you on? Usually the CLIXML errors are cleaned 
up in the newer versions of Ansible where a lot of these paths issues have 
been fixed. Using a backslash without quotes or just single quotes is more 
than fine, I'm able to run a task like

- win_copy:
    src: /tmp/file.txt
    dest: C:\temp\file.txt


We have some docs around path formatting for Windows that should work from 
2.2/2.3 onwards as I've used most of those examples in those versions 
http://docs.ansible.com/ansible/devel/user_guide/windows_usage.html#path-formatting-for-windows.

Thanks

Jordan

-- 
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/de983be4-72f8-499e-b231-9b882dcec8c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to