mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Filter name is singular
This commit is contained in:
parent
5d686a459c
commit
2164573864
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ The variable value will be used as is, but the template evaluation will raise an
|
|||
Defaulting Undefined Variables
|
||||
------------------------------
|
||||
|
||||
Jinja2 provides a useful 'defaults' 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) }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue