summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThe Magician <magic-modules@google.com>2019-08-09 16:17:44 -0700
committeransibot <ansibot@users.noreply.github.com>2019-08-09 19:17:44 -0400
commit30ad73f1c189c6c978cdc79c97aa7d97704dfd20 (patch)
tree244cb2c494138621e74fc4327fdef2ddce54b539 /test
parent5d4c3ad97ea5e3832725c0a4cc707e1c8b61d6d3 (diff)
downloadansible-30ad73f1c189c6c978cdc79c97aa7d97704dfd20.tar.gz
Bug fixes for GCP modules (#60339)
Diffstat (limited to 'test')
-rw-r--r--test/integration/targets/gcp_compute_target_ssl_proxy/tasks/main.yml14
-rw-r--r--test/integration/targets/gcp_compute_target_tcp_proxy/tasks/main.yml10
-rw-r--r--test/integration/targets/gcp_compute_url_map/tasks/main.yml14
3 files changed, 19 insertions, 19 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 f1f31f3262..f9da704f7e 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
@@ -51,7 +51,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
-- name: create a ssl certificate
+- name: create a SSL certificate
gcp_compute_ssl_certificate:
name: sslcert-targetsslproxy
description: A certificate for testing. Do not use this certificate in production
@@ -84,7 +84,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: sslcert
-- name: delete a target ssl proxy
+- name: delete a target SSL proxy
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@@ -95,7 +95,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
-- name: create a target ssl proxy
+- name: create a target SSL proxy
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@@ -125,7 +125,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
-- name: create a target ssl proxy that already exists
+- name: create a target SSL proxy that already exists
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@@ -141,7 +141,7 @@
that:
- result.changed == false
#----------------------------------------------------------
-- name: delete a target ssl proxy
+- name: delete a target SSL proxy
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@@ -171,7 +171,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
-- name: delete a target ssl proxy that does not exist
+- name: delete a target SSL proxy that does not exist
gcp_compute_target_ssl_proxy:
name: "{{ resource_name }}"
ssl_certificates:
@@ -189,7 +189,7 @@
#---------------------------------------------------------
# Post-test teardown
# If errors happen, don't crash the playbook!
-- name: delete a ssl certificate
+- name: delete a SSL certificate
gcp_compute_ssl_certificate:
name: sslcert-targetsslproxy
description: A certificate for testing. Do not use this certificate in production
diff --git a/test/integration/targets/gcp_compute_target_tcp_proxy/tasks/main.yml b/test/integration/targets/gcp_compute_target_tcp_proxy/tasks/main.yml
index 8f24675699..8385d591b7 100644
--- a/test/integration/targets/gcp_compute_target_tcp_proxy/tasks/main.yml
+++ b/test/integration/targets/gcp_compute_target_tcp_proxy/tasks/main.yml
@@ -51,7 +51,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
-- name: delete a target tcp proxy
+- name: delete a target TCP proxy
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@@ -61,7 +61,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
-- name: create a target tcp proxy
+- name: create a target TCP proxy
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@@ -90,7 +90,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
-- name: create a target tcp proxy that already exists
+- name: create a target TCP proxy that already exists
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@@ -105,7 +105,7 @@
that:
- result.changed == false
#----------------------------------------------------------
-- name: delete a target tcp proxy
+- name: delete a target TCP proxy
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
@@ -134,7 +134,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
-- name: delete a target tcp proxy that does not exist
+- name: delete a target TCP proxy that does not exist
gcp_compute_target_tcp_proxy:
name: "{{ resource_name }}"
proxy_header: PROXY_V1
diff --git a/test/integration/targets/gcp_compute_url_map/tasks/main.yml b/test/integration/targets/gcp_compute_url_map/tasks/main.yml
index 1aec572f69..b05a23a18b 100644
--- a/test/integration/targets/gcp_compute_url_map/tasks/main.yml
+++ b/test/integration/targets/gcp_compute_url_map/tasks/main.yml
@@ -22,7 +22,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: instancegroup
-- name: create a http health check
+- name: create a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-urlmap
healthy_threshold: 10
@@ -47,7 +47,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: present
register: backendservice
-- name: delete a url map
+- name: delete a URL map
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@@ -56,7 +56,7 @@
service_account_file: "{{ gcp_cred_file }}"
state: absent
#----------------------------------------------------------
-- name: create a url map
+- name: create a URL map
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@@ -84,7 +84,7 @@
that:
- results['resources'] | length == 1
# ----------------------------------------------------------------------------
-- name: create a url map that already exists
+- name: create a URL map that already exists
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@@ -98,7 +98,7 @@
that:
- result.changed == false
#----------------------------------------------------------
-- name: delete a url map
+- name: delete a URL map
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@@ -126,7 +126,7 @@
that:
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
-- name: delete a url map that does not exist
+- name: delete a URL map that does not exist
gcp_compute_url_map:
name: "{{ resource_name }}"
default_service: "{{ backendservice }}"
@@ -156,7 +156,7 @@
state: absent
register: backendservice
ignore_errors: true
-- name: delete a http health check
+- name: delete a HTTP health check
gcp_compute_http_health_check:
name: httphealthcheck-urlmap
healthy_threshold: 10