mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
cs_vpc: implement state=started (#40319)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user