|
|
|
@ -53,6 +53,7 @@
|
|
|
|
|
display_text: "{{ cs_resource_prefix }}_display_text_custom"
|
|
|
|
|
cidr: 10.10.1.0/16
|
|
|
|
|
vpc_offering: Redundant VPC offering
|
|
|
|
|
network_domain: test.example.com
|
|
|
|
|
zone: "{{ cs_common_zone_adv }}"
|
|
|
|
|
register: vpc
|
|
|
|
|
check_mode: true
|
|
|
|
@ -68,6 +69,7 @@
|
|
|
|
|
display_text: "{{ cs_resource_prefix }}_display_text_custom"
|
|
|
|
|
cidr: 10.10.1.0/16
|
|
|
|
|
vpc_offering: Redundant VPC offering
|
|
|
|
|
network_domain: test.example.com
|
|
|
|
|
zone: "{{ cs_common_zone_adv }}"
|
|
|
|
|
register: vpc
|
|
|
|
|
- name: verify test create vpc with custom offering
|
|
|
|
@ -78,6 +80,7 @@
|
|
|
|
|
- vpc.name == "{{ cs_resource_prefix }}_vpc_custom"
|
|
|
|
|
- vpc.display_text == "{{ cs_resource_prefix }}_display_text_custom"
|
|
|
|
|
- vpc.cidr == "10.10.1.0/16"
|
|
|
|
|
- vpc.network_domain == "test.example.com"
|
|
|
|
|
|
|
|
|
|
- name: test create vpc with custom offering idempotence
|
|
|
|
|
cs_vpc:
|
|
|
|
@ -85,6 +88,7 @@
|
|
|
|
|
display_text: "{{ cs_resource_prefix }}_display_text_custom"
|
|
|
|
|
cidr: 10.10.1.0/16
|
|
|
|
|
vpc_offering: Redundant VPC offering
|
|
|
|
|
network_domain: test.example.com
|
|
|
|
|
zone: "{{ cs_common_zone_adv }}"
|
|
|
|
|
register: vpc
|
|
|
|
|
- name: verify test create vpc with custom offering idempotence
|
|
|
|
@ -95,6 +99,8 @@
|
|
|
|
|
- vpc.name == "{{ cs_resource_prefix }}_vpc_custom"
|
|
|
|
|
- vpc.display_text == "{{ cs_resource_prefix }}_display_text_custom"
|
|
|
|
|
- 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:
|
|
|
|
|