2016-08-01 05:17:43 +00:00
|
|
|
---
|
2016-09-22 00:17:47 +08:00
|
|
|
- include: ceph.yml
|
|
|
|
when:
|
2016-11-18 14:46:04 +08:00
|
|
|
- enable_ceph | bool
|
2016-09-22 00:17:47 +08:00
|
|
|
- gnocchi_backend_storage == 'ceph'
|
|
|
|
|
|
|
|
- include: external_ceph.yml
|
|
|
|
when:
|
2016-11-18 14:46:04 +08:00
|
|
|
- enable_ceph | bool == False
|
2016-09-22 00:17:47 +08:00
|
|
|
- gnocchi_backend_storage == 'ceph'
|
|
|
|
|
2016-08-01 05:17:43 +00:00
|
|
|
- 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']
|
|
|
|
|
2017-01-20 17:09:23 +08:00
|
|
|
- name: Flush handlers
|
|
|
|
meta: flush_handlers
|