Clarifies misleading error on ceilometer role`s precheck task
Signed-off-by: FelipeAFV <ffigueroa@whitestack.com> Closes-Bug: #2009518 Change-Id: I8c4b0053f2f16b6d243462c4b8117748d26143a0
This commit is contained in:
parent
308089bb64
commit
296de45b30
@ -5,11 +5,10 @@
|
|||||||
service_precheck_services: "{{ ceilometer_services }}"
|
service_precheck_services: "{{ ceilometer_services }}"
|
||||||
service_name: "{{ project_name }}"
|
service_name: "{{ project_name }}"
|
||||||
|
|
||||||
- name: Checking gnocchi backend for ceilometer
|
- name: Checking Ceilometer publishers
|
||||||
fail:
|
assert:
|
||||||
msg: "gnocchi is required but not enabled"
|
that:
|
||||||
|
- not (enable_ceilometer | bool) or enable_gnocchi | bool or enable_ceilometer_prometheus_pushgateway | bool
|
||||||
|
msg: "At least one Ceilometer publisher must be enabled"
|
||||||
run_once: True
|
run_once: True
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
|
||||||
- enable_ceilometer | bool
|
|
||||||
- not (enable_gnocchi | bool or enable_ceilometer_prometheus_pushgateway | bool)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user