mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Filter name is singular
This commit is contained in:
@@ -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) }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user