blob: 4f2daf4cec296423878c40590de98f8b3ea1d28b [file] [log] [blame]
Sapan Bhatiaf42c1322014-12-19 13:24:56 -05001---
2- hosts: 127.0.0.1
3 connection: local
4 tasks:
5 - quantum_network:
6 auth_url: {{ endpoint }}
7 username: {{ admin_user }}
8 tenant_name: {{ tenant_name }}
9 password: {{ admin_password }}
10 name: {{ name }}
11 {% if delete %}
12 state: absent
13 {% else %}
14 state: present
15 {% endif %}
16
17 shared: true
18 - quantum_subnet:
19 auth_url: {{ endpoint }}
20 username: {{ admin_user }}
21 tenant_name: {{ tenant_name }}
22 password: {{ admin_password }}
23 name={{ subnet_name }}
24 network_name={{ name }}
25 {% if delete %}
26 state: absent
27 {% else %}
28 state=present
29 cidr = {{ cidr }}
30 {% endif %}