Bug fixes for GCP modules (as of 2019-01-09T15:35:45-08:00) (#50785)

This commit is contained in:
Alex Stephen 2019-01-16 11:15:03 -08:00 committed by ansibot
parent eca7c3c8c7
commit 5ca5936e05
32 changed files with 282 additions and 188 deletions

View file

@ -154,6 +154,7 @@
- result.has_key('kind') == False
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: delete a backend service
gcp_compute_backend_service:
name: "backendservice-targettcpproxy"
@ -167,6 +168,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: backendservice
ignore_errors: true
- name: delete a health check
gcp_compute_health_check:
name: "healthcheck-targettcpproxy"
@ -183,6 +185,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: healthcheck
ignore_errors: true
- name: delete a instance group
gcp_compute_instance_group:
name: "instancegroup-targettcpproxy"
@ -192,3 +195,4 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: instancegroup
ignore_errors: true