Debian Codegraph @

ansible_collections/google/cloud/tests/integration/targets/connection_plugin/templates/inventory.yml.j2

raw
1 ---
2 plugin: google.cloud.gcp_compute
3
4 zones:
5 {{ gcp_zones | to_nice_yaml }}
6
7 projects:
8 - {{ gcp_project }}
9
10 auth_kind: {{ gcp_cred_kind }}
11
12 service_account_file: {{ gcp_cred_file }}
13
14 scopes:
15 - 'https://www.googleapis.com/auth/cloud-platform'
16 - 'https://www.googleapis.com/auth/compute.readonly'
17
18 keyed_groups:
19 - prefix: gcp
20 key: labels
21
22 filters:
23 - 'labels.test:{{ prefix }}'
24
25 hostnames:
26 - name
27
28 # set variables for the connection plugin
29 compose:
30 ansible_gcloud_zone: zone
31 ansible_gcloud_project: project