Sapan Bhatia | 7419af0 | 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 | 100f997 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 6 | auth_url={{ endpoint }} |
| 7 | login_username={{ admin_user }} |
| 8 | tenant_name={{ tenant_name }} |
Tony Mack | 80c4254 | 2015-01-07 12:48:37 -0500 | [diff] [blame] | 9 | login_tenant_name={{ tenant_name }} |
Sapan Bhatia | 100f997 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 10 | login_password={{ admin_password }} |
| 11 | name={{ name }} |
| 12 | {% if delete %} |
| 13 | state=absent |
| 14 | {% else %} |
| 15 | state=present |
| 16 | {% endif %} |
Tony Mack | 80c4254 | 2015-01-07 12:48:37 -0500 | [diff] [blame] | 17 | shared=true |
Sapan Bhatia | 7419af0 | 2014-12-19 13:24:56 -0500 | [diff] [blame] | 18 | - quantum_subnet: |
Sapan Bhatia | 100f997 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 19 | auth_url={{ endpoint }} |
| 20 | login_username={{ admin_user }} |
| 21 | tenant_name={{ tenant_name }} |
Tony Mack | 80c4254 | 2015-01-07 12:48:37 -0500 | [diff] [blame] | 22 | login_tenant_name={{ tenant_name }} |
Sapan Bhatia | 100f997 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 23 | login_password={{ admin_password }} |
| 24 | name={{ subnet_name }} |
Sapan Bhatia | 7419af0 | 2014-12-19 13:24:56 -0500 | [diff] [blame] | 25 | network_name={{ name }} |
Sapan Bhatia | 100f997 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 26 | {% if delete %} |
| 27 | state=absent |
| 28 | {% else %} |
| 29 | state=present |
Tony Mack | 80c4254 | 2015-01-07 12:48:37 -0500 | [diff] [blame] | 30 | cidr={{ cidr }} |
Sapan Bhatia | 100f997 | 2014-12-22 01:43:32 -0500 | [diff] [blame] | 31 | {% endif %} |