kolla-ansible/ansible/roles/congress/tasks/deploy.yml
caoyuan 625406e58d dev mode: Add support for congress
Provide support for kolla dev mode in congress. When
'kolla_dev_mode' or 'congress_dev_mode' variables are
enabled, source code of congress project is cloned
and bind mounted.

Partially implements: blueprint mount-sources

Change-Id: Ie6bf33aaac98d237032410a7c0a6e60e35a3fb00
2018-06-15 03:08:00 +00:00

18 lines
467 B
YAML

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