Never mind.  I needed to change the param in debug from var to msg!

On Wednesday, March 20, 2019 at 5:27:37 PM UTC-7, senorsmile wrote:
>
> I have narrowed this issue down to a sample role: 
>
> ---
> - set_fact:
>     testdir: "/some/dir/myfile.txt"
>
> - debug:
>     var: "{{ testdir | dirname }}"
>
>
> I get back the error: 
> fatal: [vagrant_test01]: FAILED! => 
>   msg: 'template error while templating string: unexpected ''/''. String: 
> {{/some/dir}}'
>
>
> I have tried this on Ansible 2.7.9 and 2.6.15.  Am I doing something 
> wrong, or is there a bug here?
>

-- 
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/72398c53-82df-48d4-8e21-7ccfebccafb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to