summaryrefslogtreecommitdiff
path: root/test/integration/targets/gcp_compute_target_https_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_https_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_https_proxy/tasks/main.yml')
-rw-r--r--test/integration/targets/gcp_compute_target_https_proxy/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/targets/gcp_compute_target_https_proxy/tasks/main.yml b/test/integration/targets/gcp_compute_target_https_proxy/tasks/main.yml
index f8d18634fb..7a50dc4304 100644
--- a/test/integration/targets/gcp_compute_target_https_proxy/tasks/main.yml
+++ b/test/integration/targets/gcp_compute_target_https_proxy/tasks/main.yml
@@ -197,6 +197,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-targethttpsproxy"
@@ -230,6 +231,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: sslcert
+ ignore_errors: true
- name: delete a url map
gcp_compute_url_map:
name: "urlmap-targethttpsproxy"
@@ -239,6 +241,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-targethttpsproxy"
@@ -252,6 +255,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-targethttpsproxy"
@@ -264,6 +268,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-targethttpsproxy"
@@ -273,3 +278,4 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: instancegroup
+ ignore_errors: true