Fix yaml syntax

reviewable/pr18780/r1
Adrian Lopez 9 years ago
parent a3e7f5cfcc
commit 8c7d697c17

@ -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…
Cancel
Save