Do not catch and ignore network instantiation errors, as doing so lets them pass...
[plstackapi.git] / planetstack / openstack_observer / steps / sync_controller_networks.yaml
1 ---
2 - hosts: 127.0.0.1
3   connection: local 
4   tasks:
5   - quantum_network:
6         auth_url={{ endpoint }} 
7         login_username={{ admin_user }}
8         tenant_name={{ tenant_name }}
9         login_tenant_name={{ tenant_name }}
10         login_password={{ admin_password }}
11         name={{ name }}
12         {% if delete %}
13         state=absent
14         {% else %}
15         state=present
16         {% endif %}
17         shared=true
18   - quantum_subnet:
19         auth_url={{ endpoint }} 
20         login_username={{ admin_user }}
21         tenant_name={{ tenant_name }}
22         login_tenant_name={{ tenant_name }}
23         login_password={{ admin_password }}
24         name={{ subnet_name }} 
25         network_name={{ name }} 
26         {% if delete %}
27         state=absent
28         {% else %}
29         state=present 
30         cidr={{ cidr }}
31         {% endif %}