caoyuan c3c7b4827e dev mode: Add support for mistral
Provide support for kolla dev mode in mistral. When
'kolla_dev_mode' or 'mistral_dev_mode' variables are
enabled, source code of mistral project is cloned
and bind mounted.

Partially implements: blueprint mount-sources
Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>

Change-Id: I6e5f9b1a6b35dbb672905987e715cae4bf10af7f
2018-05-12 22:20:41 +08:00

18 lines
452 B
YAML

---
- include: register.yml
when: inventory_hostname in groups['mistral-api']
- include: config.yml
when: inventory_hostname in groups['mistral-api'] or
inventory_hostname in groups['mistral-engine'] or
inventory_hostname in groups['mistral-executor']
- include: clone.yml
when: mistral_dev_mode | bool
- include: bootstrap.yml
when: inventory_hostname in groups['mistral-api']
- name: Flush handlers
meta: flush_handlers