Commit 1260225f by Michael DeHaan

Merge pull request #5427 from bcoca/template_docs2

added more usefull example for jinja2 overrides 
parents 1847a73b 488ef22f
......@@ -48,8 +48,11 @@ options:
required: false
notes:
- Since Ansible version 0.9, templates are loaded with C(trim_blocks=True).
- 'You can override jinja2 settings by adding a special header to template file.
i.e. C(#jinja2: trim_blocks: False)'
- "Also, you can override jinja2 settings by adding a special header to template file.
i.e. C(#jinja2:variable_start_string:'[%' , variable_end_string:'%]')
which changes the variable interpolation markers to [% var %] instead of {{ var }}."
requirements: []
author: Michael DeHaan
'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment