kolla-ansible/ansible/roles/magnum/tasks/deploy.yml
Michal Rostecki 8533fc584b dev mode: Add support for magnum
Provide support fot kolla dev mode in Magnum. When
'kolla_dev_mode' or 'magnum_dev_mode' variables are
enabled, source code of Magnum project is cloned
and bindmounted.

Partially implements: blueprint mount-sources

Change-Id: Id479bf4dc77ee4a2367c9c7d8f0f00de761b8c85
2018-01-04 12:14:56 +01:00

17 lines
390 B
YAML

---
- include: register.yml
when: inventory_hostname in groups['magnum-api']
- include: config.yml
when: inventory_hostname in groups['magnum-api'] or
inventory_hostname in groups['magnum-conductor']
- include: clone.yml
when: magnum_dev_mode | bool
- include: bootstrap.yml
when: inventory_hostname in groups['magnum-api']
- name: Flush handlers
meta: flush_handlers