Commit 61e2ed84 by Michael DeHaan

Merge pull request #2387 from bcoca/template_overrides_note

added docs about in template overrides
parents 5346cbb4 3313667d
...@@ -44,6 +44,8 @@ examples: ...@@ -44,6 +44,8 @@ examples:
description: "Example from Ansible Playbooks" description: "Example from Ansible Playbooks"
notes: notes:
- Since Ansible version 0.9, templates are loaded with C(trim_blocks=True). - 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)
requirements: null requirements: null
author: Michael DeHaan 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