kolla-ansible/ansible/roles/aodh/tasks/deploy.yml
caoyuan 0025aac92e dev mode: Add support for aodh
Provide support fot kolla dev mode in aodh. When
'kolla_dev_mode' or 'aodh_dev_mode' variables are
enabled, source code of aodh project is cloned
and bindmounted.

Partially implements: blueprint mount-sources
Co-Authored-By: wu.chunyang <wu.chunyang@99cloud.net>

Change-Id: I1235013ab2ff887c4311126cbff7367775f66347
2018-04-13 02:36:48 +00:00

19 lines
494 B
YAML

---
- include: register.yml
when: inventory_hostname in groups['aodh-api']
- include: config.yml
when: inventory_hostname in groups['aodh-api'] or
inventory_hostname in groups['aodh-evaluator'] or
inventory_hostname in groups['aodh-listener'] or
inventory_hostname in groups['aodh-notifier']
- include: clone.yml
when: aodh_dev_mode | bool
- include: bootstrap.yml
when: inventory_hostname in groups['aodh-api']
- name: Flush handlers
meta: flush_handlers