Disable creation of an OpenStack gateway for private netwroks (and nat networks too...
[plstackapi.git] / planetstack / openstack_observer / steps / sync_controller_networks.yaml
index 4f2daf4..8f0d4c1 100644 (file)
@@ -3,28 +3,30 @@
   connection: local 
   tasks:
   - quantum_network:
-       auth_url: {{ endpoint }} 
-       username: {{ admin_user }}
-       tenant_name: {{ tenant_name }}
-       password: {{ admin_password }}
-       name: {{ name }}
-       {% if delete %}
-       state: absent
-       {% else %}
-       state: present
-       {% endif %}
-        
-        shared: true
+        auth_url={{ endpoint }} 
+        login_username={{ admin_user }}
+        tenant_name={{ tenant_name }}
+        login_tenant_name={{ tenant_name }}
+        login_password={{ admin_password }}
+        name={{ name }}
+        {% if delete %}
+        state=absent
+        {% else %}
+        state=present
+        {% endif %}
+        shared=true
   - quantum_subnet:
-       auth_url: {{ endpoint }} 
-       username: {{ admin_user }}
-       tenant_name: {{ tenant_name }}
-       password: {{ admin_password }}
-       name={{ subnet_name }} 
+        auth_url={{ endpoint }} 
+        login_username={{ admin_user }}
+        tenant_name={{ tenant_name }}
+        login_tenant_name={{ tenant_name }}
+        login_password={{ admin_password }}
+        name={{ subnet_name }} 
         network_name={{ name }} 
-       {% if delete %}
-       state: absent
-       {% else %}
-       state=present 
-       cidr = {{ cidr }}
-       {% endif %}
+        {% if delete %}
+        state=absent
+        {% else %}
+        state=present 
+        no_gateway=true 
+        cidr={{ cidr }}
+        {% endif %}