You had it right the first time, the trouble is the default value for state 
in win_file if the path does not exist is 'file'. For backwards 
compatibility state=file will not create a file which makes it a bit 
useless really but that's just how it is. You want to add 'state: 
directory' if you wanted to create a directory at C:\foo.

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/35f37175-4848-401a-8564-80cb3bc2dc7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to