mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-05 01:58:54 +00:00
cs_vpc: implement state=started (#40319)
This commit is contained in:
parent
6ac2045db8
commit
de8b6b55f7
3 changed files with 26 additions and 9 deletions
|
|
@ -55,6 +55,7 @@
|
|||
vpc_offering: Redundant VPC offering
|
||||
network_domain: test.example.com
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: started
|
||||
register: vpc
|
||||
check_mode: true
|
||||
- name: verify test create vpc with custom offering in check mode
|
||||
|
|
@ -71,6 +72,7 @@
|
|||
vpc_offering: Redundant VPC offering
|
||||
network_domain: test.example.com
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: started
|
||||
register: vpc
|
||||
- name: verify test create vpc with custom offering
|
||||
assert:
|
||||
|
|
@ -90,6 +92,7 @@
|
|||
vpc_offering: Redundant VPC offering
|
||||
network_domain: test.example.com
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: started
|
||||
register: vpc
|
||||
- name: verify test create vpc with custom offering idempotence
|
||||
assert:
|
||||
|
|
@ -101,7 +104,6 @@
|
|||
- vpc.cidr == "10.10.1.0/16"
|
||||
- vpc.network_domain == "test.example.com"
|
||||
|
||||
|
||||
- name: test create vpc with default offering in check mode
|
||||
cs_vpc:
|
||||
name: "{{ cs_resource_prefix }}_vpc"
|
||||
|
|
|
|||
|
|
@ -258,7 +258,6 @@ lib/ansible/modules/cloud/cloudstack/cs_vmsnapshot.py E325
|
|||
lib/ansible/modules/cloud/cloudstack/cs_volume.py E322
|
||||
lib/ansible/modules/cloud/cloudstack/cs_volume.py E324
|
||||
lib/ansible/modules/cloud/cloudstack/cs_volume.py E325
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpc.py E325
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpc_offering.py E325
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpn_connection.py E322
|
||||
lib/ansible/modules/cloud/cloudstack/cs_vpn_customer_gateway.py E325
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue