mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-29 16:11:31 -07:00
Bug fixes for GCP modules (#51574)
This commit is contained in:
parent
68f4228065
commit
2348027228
10 changed files with 69 additions and 62 deletions
|
@ -17,7 +17,7 @@
|
|||
gcp_container_cluster:
|
||||
name: "cluster-nodepool"
|
||||
initial_node_count: 4
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -28,7 +28,7 @@
|
|||
name: my-pool
|
||||
initial_node_count: 4
|
||||
cluster: "{{ cluster }}"
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -39,7 +39,7 @@
|
|||
name: my-pool
|
||||
initial_node_count: 4
|
||||
cluster: "{{ cluster }}"
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -52,7 +52,7 @@
|
|||
- name: verify that node_pool was created
|
||||
gcp_container_node_pool_facts:
|
||||
cluster: "{{ cluster }}"
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -69,7 +69,7 @@
|
|||
name: my-pool
|
||||
initial_node_count: 4
|
||||
cluster: "{{ cluster }}"
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -85,7 +85,7 @@
|
|||
name: my-pool
|
||||
initial_node_count: 4
|
||||
cluster: "{{ cluster }}"
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -98,7 +98,7 @@
|
|||
- name: verify that node_pool was deleted
|
||||
gcp_container_node_pool_facts:
|
||||
cluster: "{{ cluster }}"
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -115,7 +115,7 @@
|
|||
name: my-pool
|
||||
initial_node_count: 4
|
||||
cluster: "{{ cluster }}"
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
@ -132,7 +132,7 @@
|
|||
gcp_container_cluster:
|
||||
name: "cluster-nodepool"
|
||||
initial_node_count: 4
|
||||
zone: us-central1-a
|
||||
location: us-central1-a
|
||||
project: "{{ gcp_project }}"
|
||||
auth_kind: "{{ gcp_cred_kind }}"
|
||||
service_account_file: "{{ gcp_cred_file }}"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
# Pre-test setup
|
||||
- name: delete a instance
|
||||
gcp_spanner_instance:
|
||||
name: "{{ resource_name }}"
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
labels:
|
||||
|
@ -28,7 +28,7 @@
|
|||
#----------------------------------------------------------
|
||||
- name: create a instance
|
||||
gcp_spanner_instance:
|
||||
name: "{{ resource_name }}"
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
labels:
|
||||
|
@ -58,7 +58,7 @@
|
|||
# ----------------------------------------------------------------------------
|
||||
- name: create a instance that already exists
|
||||
gcp_spanner_instance:
|
||||
name: "{{ resource_name }}"
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
labels:
|
||||
|
@ -76,7 +76,7 @@
|
|||
#----------------------------------------------------------
|
||||
- name: delete a instance
|
||||
gcp_spanner_instance:
|
||||
name: "{{ resource_name }}"
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
labels:
|
||||
|
@ -106,7 +106,7 @@
|
|||
# ----------------------------------------------------------------------------
|
||||
- name: delete a instance that does not exist
|
||||
gcp_spanner_instance:
|
||||
name: "{{ resource_name }}"
|
||||
name: testinstance
|
||||
display_name: My Spanner Instance
|
||||
node_count: 2
|
||||
labels:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue