|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
#
|
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
# Pre-test setup
|
|
|
|
|
- name: delete a https health check
|
|
|
|
|
- name: delete a HTTPS health check
|
|
|
|
|
gcp_compute_https_health_check:
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
healthy_threshold: 10
|
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
service_account_file: "{{ gcp_cred_file }}"
|
|
|
|
|
state: absent
|
|
|
|
|
#----------------------------------------------------------
|
|
|
|
|
- name: create a https health check
|
|
|
|
|
- name: create a HTTPS health check
|
|
|
|
|
gcp_compute_https_health_check:
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
healthy_threshold: 10
|
|
|
|
@ -56,7 +56,7 @@
|
|
|
|
|
that:
|
|
|
|
|
- results['resources'] | length == 1
|
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
- name: create a https health check that already exists
|
|
|
|
|
- name: create a HTTPS health check that already exists
|
|
|
|
|
gcp_compute_https_health_check:
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
healthy_threshold: 10
|
|
|
|
@ -73,7 +73,7 @@
|
|
|
|
|
that:
|
|
|
|
|
- result.changed == false
|
|
|
|
|
#----------------------------------------------------------
|
|
|
|
|
- name: delete a https health check
|
|
|
|
|
- name: delete a HTTPS health check
|
|
|
|
|
gcp_compute_https_health_check:
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
healthy_threshold: 10
|
|
|
|
@ -104,7 +104,7 @@
|
|
|
|
|
that:
|
|
|
|
|
- results['resources'] | length == 0
|
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
- name: delete a https health check that does not exist
|
|
|
|
|
- name: delete a HTTPS health check that does not exist
|
|
|
|
|
gcp_compute_https_health_check:
|
|
|
|
|
name: "{{ resource_name }}"
|
|
|
|
|
healthy_threshold: 10
|
|
|
|
|