Debian Codegraph @

ansible_collections/google/cloud/tests/integration/targets/inventory_gce/testcase_basic.yml

raw
1 ---
2 - name: TEST | print hosts
3 ansible.builtin.debug:
4 var: groups
5
6 - name: TEST | assert instances exist
7 ansible.builtin.assert:
8 that:
9 - groups['all'] | length > 0
10
11 - name: TEST | assert grouping works
12 ansible.builtin.assert:
13 that:
14 - groups['gcp_env_prod'] | length == 2
15 - groups['gcp_cluster_db'] | length == 1
16 - groups['gcp_cluster_web'] | length == 1