# when not using quotes, no need to escape anything
path: C:\working\{{ inventory_hostname }}
# when using single quotes, you don't need to escape backslashes
path: 'C:\working\{{ inventory_hostname }}'
# when using double quotes, you need to escape backslashes, e.g. \n is newline with \\n is "\n" as text
path: "C:\\working\\{{ inventory_hostname }}"
Thank You Jordan.
I tried first without quotes and was getting an error…I usually try without quotes… anyway, then I tried it as with double quotes and escaping the \’s and it worked… very curious will have to try without quotes at all again and see if perhaps I had some other error and was misinterpreting it as it is my first time using system variables in anger.
Bill
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/54b57262-6739-4488-8c83-4203640849dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.