Fix yaml syntax
parent
61cdc2ae90
commit
624e95d718
|
@ -112,23 +112,23 @@ requirements:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Create a new (or update an existing) subnet on the specified network
|
# Create a new (or update an existing) subnet on the specified network
|
||||||
- os_subnet:
|
- os_subnet:
|
||||||
state=present
|
state: present
|
||||||
network_name=network1
|
network_name: network1
|
||||||
name=net1subnet
|
name: net1subnet
|
||||||
cidr=192.168.0.0/24
|
cidr: 192.168.0.0/24
|
||||||
dns_nameservers:
|
dns_nameservers:
|
||||||
- 8.8.8.7
|
- 8.8.8.7
|
||||||
- 8.8.8.8
|
- 8.8.8.8
|
||||||
host_routes:
|
host_routes:
|
||||||
- destination: 0.0.0.0/0
|
- destination: 0.0.0.0/0
|
||||||
nexthop: 123.456.78.9
|
nexthop: 12.34.56.78
|
||||||
- destination: 192.168.0.0/24
|
- destination: 192.168.0.0/24
|
||||||
nexthop: 192.168.0.1
|
nexthop: 192.168.0.1
|
||||||
|
|
||||||
# Delete a subnet
|
# Delete a subnet
|
||||||
- os_subnet:
|
- os_subnet:
|
||||||
state=absent
|
state: absent
|
||||||
name=net1subnet
|
name: net1subnet
|
||||||
|
|
||||||
# Create an ipv6 stateless subnet
|
# Create an ipv6 stateless subnet
|
||||||
- os_subnet:
|
- os_subnet:
|
||||||
|
|
Loading…
Reference in New Issue