summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/filter/bool.yml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/filter/bool.yml')
-rw-r--r--lib/ansible/plugins/filter/bool.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ansible/plugins/filter/bool.yml b/lib/ansible/plugins/filter/bool.yml
index 86ba3538..beb8b8dd 100644
--- a/lib/ansible/plugins/filter/bool.yml
+++ b/lib/ansible/plugins/filter/bool.yml
@@ -3,7 +3,7 @@ DOCUMENTATION:
version_added: "historical"
short_description: cast into a boolean
description:
- - Attempt to cast the input into a boolean (C(True) or C(False)) value.
+ - Attempt to cast the input into a boolean (V(True) or V(False)) value.
positional: _input
options:
_input:
@@ -13,10 +13,10 @@ DOCUMENTATION:
EXAMPLES: |
- # simply encrypt my key in a vault
+ # in vars
vars:
- isbool: "{{ (a == b)|bool }} "
- otherbool: "{{ anothervar|bool }} "
+ isbool: "{{ (a == b) | bool }} "
+ otherbool: "{{ anothervar | bool }} "
# in a task
...
@@ -24,5 +24,5 @@ EXAMPLES: |
RETURN:
_value:
- description: The boolean resulting of casting the input expression into a C(True) or C(False) value.
+ description: The boolean resulting of casting the input expression into a V(True) or V(False) value.
type: bool