mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 23:51:23 -07:00
cs_vpn_connection: fix wrong connection used (#34937)
* cs_vpn_connection: fix wrong connection used * fix vpn_customer_gateway is required * fix tests as we have a new required param * code styling
This commit is contained in:
parent
6351eff74e
commit
3b7136c5ab
2 changed files with 25 additions and 17 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
- name: setup remove vpn connection
|
||||
cs_vpn_connection:
|
||||
vpn_customer_gateway: my_vpn_customer_gateway
|
||||
vpc: my_vpc
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: absent
|
||||
|
@ -104,6 +105,7 @@
|
|||
|
||||
- name: test remove vpn connection in check mode
|
||||
cs_vpn_connection:
|
||||
vpn_customer_gateway: my_vpn_customer_gateway
|
||||
vpc: my_vpc
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: absent
|
||||
|
@ -118,6 +120,7 @@
|
|||
|
||||
- name: test remove vpn connection
|
||||
cs_vpn_connection:
|
||||
vpn_customer_gateway: my_vpn_customer_gateway
|
||||
vpc: my_vpc
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: absent
|
||||
|
@ -131,6 +134,7 @@
|
|||
|
||||
- name: test remove vpn connection idempotence
|
||||
cs_vpn_connection:
|
||||
vpn_customer_gateway: my_vpn_customer_gateway
|
||||
vpc: my_vpc
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: absent
|
||||
|
@ -190,6 +194,7 @@
|
|||
|
||||
- name: cleanup remove vpn connection
|
||||
cs_vpn_connection:
|
||||
vpn_customer_gateway: my_vpn_customer_gateway
|
||||
vpc: my_vpc
|
||||
zone: "{{ cs_common_zone_adv }}"
|
||||
state: absent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue