mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
Correct the ternary example. Fixes #10763
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user