TP7virtu/tp-cloud/ansible/gcp_compute.yml

16 lines
310 B
YAML
Raw Normal View History

2024-12-06 17:18:49 +01:00
plugin: gcp_compute
zones:
- europe-west4-a
projects:
- tp-1-docker
service_account_file: ./service_account.json
auth_kind: serviceaccount
keyed_groups:
- key: labels
prefix: label
- key: zone
prefix: zone
hostnames:
- name
compose:
ansible_host: networkInterfaces[0].accessConfigs[0].natIP