mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
parent
bc99432f89
commit
eaa5e07b28
247 changed files with 7318 additions and 7375 deletions
|
@ -29,7 +29,7 @@
|
|||
subnet_id: "{{ subnet.id }}"
|
||||
ip_address: "192.168.100.33"
|
||||
state: absent
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: create a private ip (check mode)
|
||||
hwc_vpc_private_ip:
|
||||
subnet_id: "{{ subnet.id }}"
|
||||
|
@ -41,7 +41,7 @@
|
|||
assert:
|
||||
that:
|
||||
- result is changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: create a private ip
|
||||
hwc_vpc_private_ip:
|
||||
subnet_id: "{{ subnet.id }}"
|
||||
|
@ -52,7 +52,7 @@
|
|||
assert:
|
||||
that:
|
||||
- result is changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: create a private ip (idemponent)
|
||||
hwc_vpc_private_ip:
|
||||
subnet_id: "{{ subnet.id }}"
|
||||
|
@ -76,7 +76,7 @@
|
|||
that:
|
||||
- result is not failed
|
||||
- result is not changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: delete a private ip (check mode)
|
||||
hwc_vpc_private_ip:
|
||||
subnet_id: "{{ subnet.id }}"
|
||||
|
@ -88,7 +88,7 @@
|
|||
assert:
|
||||
that:
|
||||
- result is changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: delete a private ip
|
||||
hwc_vpc_private_ip:
|
||||
subnet_id: "{{ subnet.id }}"
|
||||
|
@ -99,7 +99,7 @@
|
|||
assert:
|
||||
that:
|
||||
- result is changed
|
||||
#----------------------------------------------------------
|
||||
# ----------------------------------------------------------
|
||||
- name: delete a private ip (idemponent)
|
||||
hwc_vpc_private_ip:
|
||||
subnet_id: "{{ subnet.id }}"
|
||||
|
@ -123,7 +123,7 @@
|
|||
that:
|
||||
- result is not failed
|
||||
- result is not changed
|
||||
#---------------------------------------------------------
|
||||
# ---------------------------------------------------------
|
||||
# Post-test teardown
|
||||
- name: delete a subnet
|
||||
hwc_vpc_subnet:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue