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

This commit is contained in:
Alex Stephen 2019-01-16 11:15:15 -08:00 committed by ansibot
commit 41c1f8b9a5
28 changed files with 230 additions and 197 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 url map
gcp_compute_url_map:
name: "urlmap-targethttpproxy"
@ -163,6 +164,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: urlmap
ignore_errors: true
- name: delete a backend service
gcp_compute_backend_service:
name: "backendservice-targethttpproxy"
@ -176,6 +178,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: backendservice
ignore_errors: true
- name: delete a http health check
gcp_compute_http_health_check:
name: "httphealthcheck-targethttpproxy"
@ -188,6 +191,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-targethttpproxy"
@ -197,3 +201,4 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: instancegroup
ignore_errors: true