kolla-ansible/ansible/roles/gnocchi/tasks/deploy.yml
caoyuan cb1a2b4faf Optimize reconfigure action for gnocchi
Change-Id: I1b81f46568cf37296b86755b501d167fba849408
Partially-implements: blueprint better-reconfigure
2017-01-24 13:51:58 +00:00

25 lines
603 B
YAML

---
- include: ceph.yml
when:
- enable_ceph | bool
- gnocchi_backend_storage == 'ceph'
- include: external_ceph.yml
when:
- enable_ceph | bool == False
- gnocchi_backend_storage == 'ceph'
- include: register.yml
when: inventory_hostname in groups['gnocchi-api']
- include: config.yml
when: inventory_hostname in groups['gnocchi-statsd'] or
inventory_hostname in groups['gnocchi-api'] or
inventory_hostname in groups['gnocchi-metricd']
- include: bootstrap.yml
when: inventory_hostname in groups['gnocchi-api']
- name: Flush handlers
meta: flush_handlers