summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/filter/ternary.yml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/filter/ternary.yml')
-rw-r--r--lib/ansible/plugins/filter/ternary.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ansible/plugins/filter/ternary.yml b/lib/ansible/plugins/filter/ternary.yml
index 50ff7676..1b81765f 100644
--- a/lib/ansible/plugins/filter/ternary.yml
+++ b/lib/ansible/plugins/filter/ternary.yml
@@ -4,22 +4,22 @@ DOCUMENTATION:
version_added: '1.9'
short_description: Ternary operation filter
description:
- - Return the first value if the input is C(True), the second if C(False).
+ - Return the first value if the input is V(True), the second if V(False).
positional: true_val, false_val
options:
_input:
- description: A boolean expression, must evaluate to C(True) or C(False).
+ description: A boolean expression, must evaluate to V(True) or V(False).
type: bool
required: true
true_val:
- description: Value to return if the input is C(True).
+ description: Value to return if the input is V(True).
type: any
required: true
false_val:
- description: Value to return if the input is C(False).
+ description: Value to return if the input is V(False).
type: any
none_val:
- description: Value to return if the input is C(None). If not set, C(None) will be treated as C(False).
+ description: Value to return if the input is V(None). If not set, V(None) will be treated as V(False).
type: any
version_added: '2.8'
notes: