From 624e95d718f884e01ab58c5511003ce78b3fc37a Mon Sep 17 00:00:00 2001 From: Adrian Lopez Date: Tue, 6 Oct 2015 10:26:44 +0200 Subject: [PATCH] Fix yaml syntax --- lib/ansible/modules/cloud/openstack/os_subnet.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/ansible/modules/cloud/openstack/os_subnet.py b/lib/ansible/modules/cloud/openstack/os_subnet.py index 22876c8086..d54268f415 100644 --- a/lib/ansible/modules/cloud/openstack/os_subnet.py +++ b/lib/ansible/modules/cloud/openstack/os_subnet.py @@ -112,23 +112,23 @@ requirements: EXAMPLES = ''' # Create a new (or update an existing) subnet on the specified network - os_subnet: - state=present - network_name=network1 - name=net1subnet - cidr=192.168.0.0/24 + state: present + network_name: network1 + name: net1subnet + cidr: 192.168.0.0/24 dns_nameservers: - 8.8.8.7 - 8.8.8.8 host_routes: - destination: 0.0.0.0/0 - nexthop: 123.456.78.9 + nexthop: 12.34.56.78 - destination: 192.168.0.0/24 nexthop: 192.168.0.1 # Delete a subnet - os_subnet: - state=absent - name=net1subnet + state: absent + name: net1subnet # Create an ipv6 stateless subnet - os_subnet: