[ansible-project] Re: win_template Illegal characters in path

2016-02-02 Thread Joe Levis
You were right Jon. I needed to escape the backslashes. This worked: dest="C:\\temp\\test.conf" Thanks! -Joe On Monday, February 1, 2016 at 3:38:05 PM UTC-8, Joe Levis wrote: > > Not sure what I'm doing wrong here. I've tried all different styles of > configuration with no success. I'm tryi

[ansible-project] Re: win_template Illegal characters in path

2016-02-02 Thread J Hawkesworth
I'm guessing here that you are getting bitten by the \t part of c:\temp being interpreted as a tab character. try - name: Config file win_template: src=templates/config.j2 dest='C:\temp\test.conf' or if you prefer double quotes: - name: Config file win_template: src=templates/config.j2