ansible/ansible — pull request #1625 by bcoca (2012-11-14 17:26:00+00:00)
Title: added ability to override jinja enviornment from first line of template

now you can put jinja2 options in the first line of the template (will get removed from output)

It MUST start the first line with '#env:', all valid jinja environment settings will be updated before processing the template.

example:

#env: variable_end_string: @@, variable_start_string: @@

this changes how jinja2 substitutes variables from looking at {{ var }} to looking at @@ var @@