Debian Codegraph @

lib/ansible/plugins/test/superset.yml

raw
1 DOCUMENTATION:
2 name: superset
3 author: Ansible Core
4 version_added: "2.4"
5 short_description: is the list a superset of this other list
6 aliases: [issuperset]
7 description:
8 - Validate if the first list is a super set (includes) the second list.
9 options:
10 _input:
11 description: List.
12 type: list
13 elements: raw
14 required: True
15 _subset:
16 description: List to test against.
17 type: list
18 elements: raw
19 required: True
20 EXAMPLES: |
21 big: [1,2,3,4,5]
22 small: [3,4]
23 issmallinbig: '{{ big is superset(small) }}'
24 RETURN:
25 _value:
26 description: Returns V(True) if the specified list is a superset of the provided list, V(False) otherwise.
27 type: boolean