Sapan Bhatia | f42c132 | 2014-12-19 13:24:56 -0500 | [diff] [blame] | 1 | --- |
| 2 | - hosts: 127.0.0.1 |
| 3 | connection: local |
| 4 | tasks: |
| 5 | - quantum_network: |
Sapan Bhatia | e152717 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 6 | 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 Bhatia | f42c132 | 2014-12-19 13:24:56 -0500 | [diff] [blame] | 16 | shared: true |
| 17 | - quantum_subnet: |
Sapan Bhatia | e152717 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 18 | auth_url={{ endpoint }} |
| 19 | login_username={{ admin_user }} |
| 20 | tenant_name={{ tenant_name }} |
| 21 | login_password={{ admin_password }} |
| 22 | name={{ subnet_name }} |
Sapan Bhatia | f42c132 | 2014-12-19 13:24:56 -0500 | [diff] [blame] | 23 | network_name={{ name }} |
Sapan Bhatia | e152717 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 24 | {% if delete %} |
| 25 | state=absent |
| 26 | {% else %} |
| 27 | state=present |
| 28 | cidr = {{ cidr }} |
| 29 | {% endif %} |