Fix yaml syntax

pull/4420/head
Adrian Lopez 2015-10-06 10:26:44 +02:00 committed by Matt Clay
parent 61cdc2ae90
commit 624e95d718
1 changed files with 7 additions and 7 deletions

View File

@ -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: