summaryrefslogtreecommitdiff
path: root/test/integration/targets/gcp_compute_http_health_check/tasks/main.yml
diff options
context:
space:
mode:
authorThe Magician <magic-modules@google.com>2019-03-15 14:38:27 -0700
committeransibot <ansibot@users.noreply.github.com>2019-03-15 17:38:27 -0400
commitb429ba61dcd0735cdc6e3675fcfbae3a3ccc8ff9 (patch)
treee96f4862da14e1b96f23cd33f9390b22e73d5bb3 /test/integration/targets/gcp_compute_http_health_check/tasks/main.yml
parente8e69bf069c99c644ade9915680505f2f12831b3 (diff)
downloadansible-b429ba61dcd0735cdc6e3675fcfbae3a3ccc8ff9.tar.gz
Bug fixes for GCP modules (#53879)
Diffstat (limited to 'test/integration/targets/gcp_compute_http_health_check/tasks/main.yml')
-rw-r--r--test/integration/targets/gcp_compute_http_health_check/tasks/main.yml90
1 files changed, 45 insertions, 45 deletions
diff --git a/test/integration/targets/gcp_compute_http_health_check/tasks/main.yml b/test/integration/targets/gcp_compute_http_health_check/tasks/main.yml
index 391794ed7f..9d424e3ff0 100644
--- a/test/integration/targets/gcp_compute_http_health_check/tasks/main.yml
+++ b/test/integration/targets/gcp_compute_http_health_check/tasks/main.yml
@@ -15,27 +15,27 @@
# Pre-test setup
- name: delete a http health check
gcp_compute_http_health_check:
- name: "{{ resource_name }}"
- healthy_threshold: 10
- port: 8080
- timeout_sec: 2
- unhealthy_threshold: 5
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: "{{ resource_name }}"
+ healthy_threshold: 10
+ port: 8080
+ timeout_sec: 2
+ unhealthy_threshold: 5
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
#----------------------------------------------------------
- name: create a http health check
gcp_compute_http_health_check:
- name: "{{ resource_name }}"
- healthy_threshold: 10
- port: 8080
- timeout_sec: 2
- unhealthy_threshold: 5
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: present
+ name: "{{ resource_name }}"
+ healthy_threshold: 10
+ port: 8080
+ timeout_sec: 2
+ unhealthy_threshold: 5
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: present
register: result
- name: assert changed is true
assert:
@@ -59,15 +59,15 @@
# ----------------------------------------------------------------------------
- name: create a http health check that already exists
gcp_compute_http_health_check:
- name: "{{ resource_name }}"
- healthy_threshold: 10
- port: 8080
- timeout_sec: 2
- unhealthy_threshold: 5
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: present
+ name: "{{ resource_name }}"
+ healthy_threshold: 10
+ port: 8080
+ timeout_sec: 2
+ unhealthy_threshold: 5
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: present
register: result
- name: assert changed is false
assert:
@@ -77,15 +77,15 @@
#----------------------------------------------------------
- name: delete a http health check
gcp_compute_http_health_check:
- name: "{{ resource_name }}"
- healthy_threshold: 10
- port: 8080
- timeout_sec: 2
- unhealthy_threshold: 5
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: "{{ resource_name }}"
+ healthy_threshold: 10
+ port: 8080
+ timeout_sec: 2
+ unhealthy_threshold: 5
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
register: result
- name: assert changed is true
assert:
@@ -109,15 +109,15 @@
# ----------------------------------------------------------------------------
- name: delete a http health check that does not exist
gcp_compute_http_health_check:
- name: "{{ resource_name }}"
- healthy_threshold: 10
- port: 8080
- timeout_sec: 2
- unhealthy_threshold: 5
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: "{{ resource_name }}"
+ healthy_threshold: 10
+ port: 8080
+ timeout_sec: 2
+ unhealthy_threshold: 5
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
register: result
- name: assert changed is false
assert: