mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Correct the ternary example. Fixes #10763
This commit is contained in:
parent
f4172fb9da
commit
d34e7d7bca
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ Other Useful Filters
|
|||
|
||||
To use one value on true and another on false (since 1.9)::
|
||||
|
||||
{{ name == "John" | ternary('Mr','Ms') }}
|
||||
{{ (name == "John") | ternary('Mr','Ms') }}
|
||||
|
||||
To concatenate a list into a string::
|
||||
|
||||
|
|
Loading…
Reference in a new issue