summaryrefslogtreecommitdiff
path: root/test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml
diff options
context:
space:
mode:
authorAlex Stephen <alexstephen@google.com>2019-01-16 11:15:03 -0800
committeransibot <ansibot@users.noreply.github.com>2019-01-16 14:15:03 -0500
commit5ca5936e056b7542d2bdd246df983e3431f64e08 (patch)
tree144ccb9752da9ecbb4ecc640aeb791f152fbaeb9 /test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml
parenteca7c3c8c763db0da4bb56c17d17f0a5be0f56d8 (diff)
downloadansible-5ca5936e056b7542d2bdd246df983e3431f64e08.tar.gz
Bug fixes for GCP modules (as of 2019-01-09T15:35:45-08:00) (#50785)
Diffstat (limited to 'test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml')
-rw-r--r--test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml b/test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml
index 2b9f24154f..f2b14904a2 100644
--- a/test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml
+++ b/test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml
@@ -192,6 +192,7 @@
- result.has_key('kind') == False
#---------------------------------------------------------
# Post-test teardown
+# If errors happen, don't crash the playbook!
- name: delete a ssl certificate
gcp_compute_ssl_certificate:
name: "sslcert-targetsslproxy"
@@ -225,6 +226,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: sslcert
+ ignore_errors: true
- name: delete a backend service
gcp_compute_backend_service:
name: "backendservice-targetsslproxy"
@@ -238,6 +240,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-targetsslproxy"
@@ -254,6 +257,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-targetsslproxy"
@@ -263,3 +267,4 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: instancegroup
+ ignore_errors: true