kolla-ansible/ansible/roles/masakari/tasks/deploy.yml
Kien Nguyen 577bb50a04 Add Masakari Ansible role
Masakari provides Instances High Availability Service for
OpenStack clouds by automatically recovering failed Instances.

Depends-On: https://review.openstack.org/#/c/615469/
Change-Id: I0b3457232ee86576022cff64eb2e227ff9bbf0aa
Implements: blueprint ansible-masakari
Co-Authored-By: Gaëtan Trellu <gaetan.trellu@incloudus.com>
2019-08-15 09:58:53 -04:00

18 lines
482 B
YAML

---
- include_tasks: register.yml
when: inventory_hostname in groups['masakari-api']
- include_tasks: config.yml
when: inventory_hostname in groups['masakari-api'] or
inventory_hostname in groups['masakari-engine'] or
inventory_hostname in groups['masakari-monitors']
- include_tasks: clone.yml
when: masakari_dev_mode | bool
- include_tasks: bootstrap.yml
when: inventory_hostname in groups['masakari-api']
- name: Flush handlers
meta: flush_handlers