1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

cloudstack: test: fix setup cs_vpc not using zone

This commit is contained in:
Rene Moser 2017-05-15 16:36:58 +02:00 committed by Matt Clay
parent e9672748cc
commit e34fd20452
2 changed files with 4 additions and 0 deletions

View file

@ -1 +1,2 @@
cloud/cs
posix/ci/cloud/cs

View file

@ -2,6 +2,7 @@
- name: setup
cs_vpc:
name: "{{ cs_resource_prefix }}_vpc"
zone: "{{ cs_common_zone_adv }}"
state: absent
register: vpc
- name: verify setup
@ -11,6 +12,7 @@
- name: test fail missing name of vpc
cs_vpc:
zone: "{{ cs_common_zone_adv }}"
ignore_errors: true
register: vpc
- name: verify test fail missing name of vpc
@ -22,6 +24,7 @@
- name: test fail missing cidr for vpc
cs_vpc:
name: "{{ cs_resource_prefix }}_vpc"
zone: "{{ cs_common_zone_adv }}"
ignore_errors: true
register: vpc
- name: verify test fail missing cidr for vpc