Is this what you're looking
for: http://jinja.pocoo.org/docs/dev/templates/#escaping?
Either use {% raw % } or {{ '{{' }} depending on your use case.
On Thursday, March 19, 2015 at 10:52:09 AM UTC, Dick Davies wrote:
>
> Morning
>
> I need to push out a Go template file that needs some environment
> specific settings, so tried to template the template
> (yes, a bit 'yo dawg' i know).
>
> Of course this blows up as both jinja2 and go templating use double
> mustaches '{{ foo }}' .
>
> Has anyone got a workaround for this?
>
> Maybe changing the jinja2 delimiters just for this one file?
>
--
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/be59243d-0678-48ec-8482-6f8a05f2e2ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.