kolla-ansible/ansible/roles/sahara/tasks/deploy.yml
wu.chunyang 31a6de01f3 dev mode: Add support for sahara
Provide support fot kolla dev mode in sahara. When
'kolla_dev_mode' or 'sahara_dev_mode' variables are
enabled, source code of sahara  project will be  cloned
and  mounted automatically

Partially implements: blueprint mount-sources

Change-Id: I496ea4443ec8ffc4dc9d0f0d3e6a4514d16ed336
Co-Authored-By: zhulingjie <easyzlj@gmail.com>
2018-06-08 02:40:10 +00:00

17 lines
387 B
YAML

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