Basic docsite formatting fixups
This commit is contained in:
parent
e2c7aeca4c
commit
a11e5d609e
1 changed files with 2 additions and 2 deletions
|
@ -47,11 +47,11 @@ options:
|
||||||
- all arguments accepted by the M(file) module also work here
|
- all arguments accepted by the M(file) module also work here
|
||||||
required: false
|
required: false
|
||||||
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)."
|
||||||
|
|
||||||
- "Also, you can override jinja2 settings by adding a special header to template file.
|
- "Also, you can override jinja2 settings by adding a special header to template file.
|
||||||
i.e. C(#jinja2:variable_start_string:'[%' , variable_end_string:'%]')
|
i.e. C(#jinja2:variable_start_string:'[%' , variable_end_string:'%]')
|
||||||
which changes the variable interpolation markers to [% var %] instead of {{ var }}." This is the best way to prevent evaluation of things that look like, but should not be Jinja2. raw/endraw in Jinja2 will not work as you expect because templates in Ansible are recursively evaluated.
|
which changes the variable interpolation markers to [% var %] instead of {{ var }}. This is the best way to prevent evaluation of things that look like, but should not be Jinja2. raw/endraw in Jinja2 will not work as you expect because templates in Ansible are recursively evaluated."
|
||||||
|
|
||||||
requirements: []
|
requirements: []
|
||||||
author: Michael DeHaan
|
author: Michael DeHaan
|
||||||
|
|
Loading…
Reference in a new issue