--- - import_role: name: service-precheck vars: service_precheck_services: "{{ ceilometer_services }}" service_name: "{{ project_name }}" - name: Checking Ceilometer publishers assert: 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 changed_when: false