kolla-ansible/ansible/roles/neutron/tasks/deploy.yml
Christian Berendt be0fcb5b99 Integrate neutron-vpnaas-agent into the neutron Ansible role
Implements: blueprint neutron-vpnaas-agent
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Change-Id: I1fae21f48d5beef47934aef7c23910536955f2b8
2016-09-15 05:07:46 +00:00

35 lines
1.4 KiB
YAML

---
# enforce ironic usage only with openvswitch
- include: ironic-check.yml
- include: register.yml
when: inventory_hostname in groups['neutron-server']
- include: config.yml
when: inventory_hostname in groups['compute']
or (enable_manila | bool and inventory_hostname in groups['manila-share'])
or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']
or inventory_hostname in groups['neutron-server']
or inventory_hostname in groups['neutron-lbaas-agent']
or inventory_hostname in groups['neutron-vpnaas-agent']
- include: config-neutron-fake.yml
when:
- inventory_hostname in groups['compute']
- enable_nova_fake | bool
- include: bootstrap.yml
when: inventory_hostname in groups['neutron-server']
- include: start.yml
when: inventory_hostname in groups['compute']
or (enable_manila | bool and inventory_hostname in groups['manila-share'])
or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']
or inventory_hostname in groups['neutron-server']
or inventory_hostname in groups['neutron-lbaas-agent']
or inventory_hostname in groups['neutron-vpnaas-agent']