Controlling whitespace in Jinja2 templates: Difference between revisions
mNo edit summary |
Add See Also to link to yamllint |
||
| Line 47: | Line 47: | ||
==Debugging== | ==Debugging== | ||
Just put <code>{% debug %}</code> somewhere in your template file. This didn't work for me in Ansible 2.9 | Just put <code>{% debug %}</code> somewhere in your template file. This didn't work for me in Ansible 2.9 | ||
== More == | == More == | ||
Bloomreach Engagement is a commercial Web product that uses Jinja for templating. So they have a pretty good [https://documentation.bloomreach.com/engagement/docs/jinja-syntax reference guide]. | Bloomreach Engagement is a commercial Web product that uses Jinja for templating. So they have a pretty good [https://documentation.bloomreach.com/engagement/docs/jinja-syntax reference guide]. | ||
{{References}} | == See Also == | ||
For whitespace formatting of YAML block scalars, see the [[yamllint]] article.{{References}} | |||
[[Category:Ansible]] | [[Category:Ansible]] | ||
[[Category:Templating]] | [[Category:Templating]] | ||
[[Category:Python]] | [[Category:Python]] | ||