mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added version to ternary example
This commit is contained in:
parent
cbfab13b89
commit
39a3d6f5ed
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ Hash types available depend on the master system running ansible,
|
||||||
Other Useful Filters
|
Other Useful Filters
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
To use one value on true and another on false::
|
To use one value on true and another on false (since 1.9)::
|
||||||
|
|
||||||
{{ name == "John" | ternary('Mr','Ms') }}
|
{{ name == "John" | ternary('Mr','Ms') }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue