mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-09-29 13:03:30 -07:00
Adding integration test for dynamic inventory plugin
Signed-off-by: Jorge Gallegos <jgallego@redhat.com>
This commit is contained in:
parent
3e3611fb23
commit
adf05c4ecf
10 changed files with 252 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
plugin: google.cloud.gcp_compute
|
||||
|
||||
zones:
|
||||
{{ gcp_zones | to_nice_yaml }}
|
||||
projects:
|
||||
- {{ gcp_project }}
|
||||
|
||||
auth_kind: {{ gcp_cred_kind }}
|
||||
|
||||
service_account_file: {{ gcp_cred_file }}
|
||||
|
||||
scopes:
|
||||
- 'https://www.googleapis.com/auth/cloud-platform'
|
||||
- 'https://www.googleapis.com/auth/compute.readonly'
|
||||
|
||||
keyed_groups:
|
||||
- prefix: gcp
|
||||
key: labels
|
||||
|
||||
name_suffix: .{{ prefix }}.com
|
||||
|
||||
filters:
|
||||
{{ testcases[testcase]['filters'] | default(testcases['basic']['filters']) | default([]) | to_nice_yaml }}
|
||||
|
||||
hostnames:
|
||||
{{ testcases[testcase]['hostnames'] | default(testcases['basic']['hostnames']) | default([]) | to_nice_yaml }}
|
Loading…
Add table
Add a link
Reference in a new issue