6cf03122ee
This commit adds support for pushing Ceilometer metrics to Prometheus instead of Gnocchi or alongside it. Closes-Bug: #1964135 Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com> Change-Id: I9fd32f63913a534c59e2d17703702074eea5dd76
16 lines
419 B
YAML
16 lines
419 B
YAML
---
|
|
- import_role:
|
|
name: service-precheck
|
|
vars:
|
|
service_precheck_services: "{{ ceilometer_services }}"
|
|
service_name: "{{ project_name }}"
|
|
|
|
- name: Checking gnocchi backend for ceilometer
|
|
fail:
|
|
msg: "gnocchi is required but not enabled"
|
|
run_once: True
|
|
changed_when: false
|
|
when:
|
|
- enable_ceilometer | bool
|
|
- not (enable_gnocchi | bool or enable_ceilometer_prometheus_pushgateway | bool)
|