Hi, I'm using Ansible 2.8 on Ubuntu and I'm trying to make a directory to a 
windows box.  

But wait!  I hear you say, what about 
https://docs.ansible.com/ansible/latest/user_guide/windows_usage.html#path-formatting-for-windows
 
?
Read it.  

If I use an unquoted or single quoted string, like so:

 - win_file:
   path: C:\foo

I get 

"path C:\\foo will not be created"

If I use a double quoted string, like so:

  - win_file:
    path: "C:\foo"

I get 

"Get-AnsibleParam: Parameter 'path' has an invalid path 'C:\foo' specified."

Help!

-- 
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/5dc3be92-fd48-48f6-8cd6-f4188816d3f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to