summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/gcp_compute_region_disk
diff options
context:
space:
mode:
authorThe Magician <magic-modules@google.com>2019-07-12 22:21:44 +0200
committeransibot <ansibot@users.noreply.github.com>2019-07-12 22:21:43 +0200
commit51e1b090dbedbda4d6b0754f21cf7b8ed299b9ab (patch)
treef3930dc82fb4cc6adb7ac675efdfbef0a8b592b1 /test/integration/targets/gcp_compute_region_disk
parentBug fixes for GCP modules (#58904) (diff)
downloadansible-51e1b090dbedbda4d6b0754f21cf7b8ed299b9ab.tar.xz
ansible-51e1b090dbedbda4d6b0754f21cf7b8ed299b9ab.zip
Bug fixes for GCP modules (#58901)
Diffstat (limited to 'test/integration/targets/gcp_compute_region_disk')
-rw-r--r--test/integration/targets/gcp_compute_region_disk/tasks/main.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/integration/targets/gcp_compute_region_disk/tasks/main.yml b/test/integration/targets/gcp_compute_region_disk/tasks/main.yml
index e18f12404e..85d7aa3cf4 100644
--- a/test/integration/targets/gcp_compute_region_disk/tasks/main.yml
+++ b/test/integration/targets/gcp_compute_region_disk/tasks/main.yml
@@ -16,7 +16,7 @@
- name: delete a region disk
gcp_compute_region_disk:
name: "{{ resource_name }}"
- size_gb: 50
+ size_gb: 500
disk_encryption_key:
raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=
region: us-central1
@@ -31,7 +31,7 @@
- name: create a region disk
gcp_compute_region_disk:
name: "{{ resource_name }}"
- size_gb: 50
+ size_gb: 500
disk_encryption_key:
raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=
region: us-central1
@@ -67,7 +67,7 @@
- name: create a region disk that already exists
gcp_compute_region_disk:
name: "{{ resource_name }}"
- size_gb: 50
+ size_gb: 500
disk_encryption_key:
raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=
region: us-central1
@@ -88,7 +88,7 @@
- name: delete a region disk
gcp_compute_region_disk:
name: "{{ resource_name }}"
- size_gb: 50
+ size_gb: 500
disk_encryption_key:
raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=
region: us-central1
@@ -104,7 +104,6 @@
assert:
that:
- result.changed == true
- - result.has_key('kind') == False
- name: verify that region_disk was deleted
gcp_compute_region_disk_facts:
filters:
@@ -124,7 +123,7 @@
- name: delete a region disk that does not exist
gcp_compute_region_disk:
name: "{{ resource_name }}"
- size_gb: 50
+ size_gb: 500
disk_encryption_key:
raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=
region: us-central1
@@ -140,4 +139,3 @@
assert:
that:
- result.changed == false
- - result.has_key('kind') == False