summaryrefslogtreecommitdiff
path: root/test/integration/targets/gcp_compute_address
diff options
context:
space:
mode:
authorThe Magician <magic-modules@google.com>2019-03-15 12:43:12 -0700
committeransibot <ansibot@users.noreply.github.com>2019-03-15 15:43:12 -0400
commite8e69bf069c99c644ade9915680505f2f12831b3 (patch)
tree276e74e0b0e96c86f25f6dc45796d1f4e445cb7d /test/integration/targets/gcp_compute_address
parent204ae884911787acb1eb8bc18e0cb41f9150da9d (diff)
downloadansible-e8e69bf069c99c644ade9915680505f2f12831b3.tar.gz
Bug fixes for GCP modules (#53878)
Diffstat (limited to 'test/integration/targets/gcp_compute_address')
-rw-r--r--test/integration/targets/gcp_compute_address/tasks/main.yml60
1 files changed, 30 insertions, 30 deletions
diff --git a/test/integration/targets/gcp_compute_address/tasks/main.yml b/test/integration/targets/gcp_compute_address/tasks/main.yml
index 53eb5f345e..52b7c2357e 100644
--- a/test/integration/targets/gcp_compute_address/tasks/main.yml
+++ b/test/integration/targets/gcp_compute_address/tasks/main.yml
@@ -15,21 +15,21 @@
# Pre-test setup
- name: delete a address
gcp_compute_address:
- name: test-address1
- region: us-west1
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: test-address1
+ region: us-west1
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
#----------------------------------------------------------
- name: create a address
gcp_compute_address:
- name: test-address1
- region: us-west1
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: present
+ name: test-address1
+ region: us-west1
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: present
register: result
- name: assert changed is true
assert:
@@ -54,12 +54,12 @@
# ----------------------------------------------------------------------------
- name: create a address that already exists
gcp_compute_address:
- name: test-address1
- region: us-west1
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: present
+ name: test-address1
+ region: us-west1
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: present
register: result
- name: assert changed is false
assert:
@@ -69,12 +69,12 @@
#----------------------------------------------------------
- name: delete a address
gcp_compute_address:
- name: test-address1
- region: us-west1
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: test-address1
+ region: us-west1
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
register: result
- name: assert changed is true
assert:
@@ -99,12 +99,12 @@
# ----------------------------------------------------------------------------
- name: delete a address that does not exist
gcp_compute_address:
- name: test-address1
- region: us-west1
- project: "{{ gcp_project }}"
- auth_kind: "{{ gcp_cred_kind }}"
- service_account_file: "{{ gcp_cred_file }}"
- state: absent
+ name: test-address1
+ region: us-west1
+ project: "{{ gcp_project }}"
+ auth_kind: "{{ gcp_cred_kind }}"
+ service_account_file: "{{ gcp_cred_file }}"
+ state: absent
register: result
- name: assert changed is false
assert: