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

This commit is contained in:
Alex Stephen 2019-01-16 11:15:35 -08:00 committed by ansibot
commit 36fd9d1b6a
19 changed files with 152 additions and 92 deletions

View file

@ -151,6 +151,7 @@
- result.has_key('kind') == False
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
- name: delete a target pool
gcp_compute_target_pool:
name: "targetpool-forwardingrule"
@ -160,6 +161,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: targetpool
ignore_errors: true
- name: delete a address
gcp_compute_address:
name: "address-forwardingrule"
@ -169,3 +171,4 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
register: address
ignore_errors: true