blob: c85ec551ef94dfc618264d43170e77e638003641 [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:
Sapan Bhatiae1527172014-12-22 01:43:32 -05006 auth_url={{ endpoint }}
7 login_username={{ admin_user }}
8 tenant_name={{ tenant_name }}
9 login_password={{ admin_password }}
10 name={{ name }}
11 {% if delete %}
12 state=absent
13 {% else %}
14 state=present
15 {% endif %}
Sapan Bhatiaf42c1322014-12-19 13:24:56 -050016 shared: true
17 - quantum_subnet:
Sapan Bhatiae1527172014-12-22 01:43:32 -050018 auth_url={{ endpoint }}
19 login_username={{ admin_user }}
20 tenant_name={{ tenant_name }}
21 login_password={{ admin_password }}
22 name={{ subnet_name }}
Sapan Bhatiaf42c1322014-12-19 13:24:56 -050023 network_name={{ name }}
Sapan Bhatiae1527172014-12-22 01:43:32 -050024 {% if delete %}
25 state=absent
26 {% else %}
27 state=present
28 cidr = {{ cidr }}
29 {% endif %}