Debian Codegraph @

lib/ansible/plugins/test/all.yml

raw
1 DOCUMENTATION:
2 name: all
3 author: Ansible Core
4 version_added: "2.4"
5 short_description: are all conditions in a list true
6 description:
7 - This test checks each condition in a list for truthiness.
8 - Same as the C(all) Python function.
9 options:
10 _input:
11 description: List of conditions, each can be a boolean or conditional expression that results in a boolean value.
12 type: list
13 elements: raw
14 required: True
15 EXAMPLES: |
16 varexpression: "{{ 3 == 3 }}"
17 # are all statements true?
18 {{ [true, booleanvar, varexpression] is all }}
19
20 RETURN:
21 _value:
22 description: Returns V(True) if all elements of the list were True, V(False) otherwise.
23 type: boolean