Merge pull request #7934 from chrishepner/patch-1

Fix missing code block in playbook variables doc
This commit is contained in:
Michael DeHaan 2014-06-25 17:03:29 -05:00
commit 373fa0f722

View file

@ -173,7 +173,7 @@ The variable value will be used as is, but the template evaluation will raise an
Defaulting Undefined Variables Defaulting Undefined Variables
------------------------------ ------------------------------
Jinja2 provides a useful 'default' filter, that is often a better approach to failing if a variable is not defined. Jinja2 provides a useful 'default' filter, that is often a better approach to failing if a variable is not defined::
{{ some_variable | default(5) }} {{ some_variable | default(5) }}