mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 19:43:59 -07:00
Adjust YAML files (#10233)
Adjust YAML files.
(cherry picked from commit eaa5e07b28
)
This commit is contained in:
parent
e8ff74f077
commit
a9e892952d
244 changed files with 7272 additions and 7329 deletions
|
@ -37,7 +37,7 @@
|
|||
destination: "192.168.0.0/16"
|
||||
next_hop: "{{ connect.id }}"
|
||||
state: absent
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: create a route (check mode)
|
||||
hwc_vpc_route:
|
||||
vpc_id: "{{ vpc1.id }}"
|
||||
|
@ -49,7 +49,7 @@
|
|||
that:
|
||||
- not result.id
|
||||
- result.changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: create a route
|
||||
hwc_vpc_route:
|
||||
vpc_id: "{{ vpc1.id }}"
|
||||
|
@ -87,7 +87,7 @@
|
|||
that:
|
||||
- result is not failed
|
||||
- result is not changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: delete a route (check mode)
|
||||
hwc_vpc_route:
|
||||
vpc_id: "{{ vpc1.id }}"
|
||||
|
@ -95,7 +95,7 @@
|
|||
next_hop: "{{ connect.id }}"
|
||||
state: absent
|
||||
check_mode: true
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: delete a route
|
||||
hwc_vpc_route:
|
||||
vpc_id: "{{ vpc1.id }}"
|
||||
|
@ -107,7 +107,7 @@
|
|||
assert:
|
||||
that:
|
||||
result is changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: delete a (idemponent)
|
||||
hwc_vpc_route:
|
||||
vpc_id: "{{ vpc1.id }}"
|
||||
|
@ -133,7 +133,7 @@
|
|||
that:
|
||||
- result is not failed
|
||||
- result is not changed
|
||||
#---------------------------------------------------------
|
||||
# ---------------------------------------------------------
|
||||
# Post-test teardown
|
||||
- name: delete a peering connect
|
||||
hwc_vpc_peering_connect:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue