On 18.05.16 15:43 Simon Szustkowski wrote:

> So i consulted the jinja documentation which specified that i could just 
> escape characters with '
> The second attempt was: 
> "$'{'{{ item.name }}_if}"

I found this:
http://jinja.pocoo.org/docs/dev/templates/#escaping

Which says:
<quote>
The easiest way to output a literal variable delimiter ({{) is by
using a variable expression:

{{ '{{' }}
</quote>

So I would try this (untested):

"${{'{'}}{{ item.name }}_if}"

Johannes

-- 
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/573CA9A5.2040902%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to