Re: [ansible-project] Re: inventory_hostname in path to create directory with win_file grief..

2018-05-24 Thread Jordan Borean
If you start with a jinja2 block or have ": " (with the leading space) in the value then you have to quote the whole line, otherwise you usually can get away with it. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this

Re: [ansible-project] Re: inventory_hostname in path to create directory with win_file grief..

2018-05-24 Thread Jordan Borean
s/leading/trailing/ -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible

RE: [ansible-project] Re: inventory_hostname in path to create directory with win_file grief..

2018-05-24 Thread william.dossett
was misinterpreting it as it is my first time using system variables in anger. Bill From: ansible-project@googlegroups.com On Behalf Of Jordan Borean Sent: Wednesday, May 23, 2018 4:08 PM To: Ansible Project Subject: [ansible-project] Re: inventory_hostname in path to create directory

[ansible-project] Re: inventory_hostname in path to create directory with win_file grief..

2018-05-23 Thread Jordan Borean
Hi You seem to be close, one thing to remember when dealing with Windows paths in double quotes is that you needs to properly escape the backslashes. E.g. your path could be one of the following (they all are the same after yaml parsing) # when not using quotes, no need to escape anything path