Merge "Fix prometheus prechecks for haproxy and memcached" into stable/rocky

This commit is contained in:
Zuul 2019-02-18 11:27:45 +00:00 committed by Gerrit Code Review
commit 0e5c1a0acd

View File

@ -5,6 +5,7 @@
- prometheus_server
- prometheus_node_exporter
- prometheus_haproxy_exporter
- prometheus_memcached_exporter
- prometheus_mysqld_exporter
- prometheus_cadvisor
- prometheus_alertmanager
@ -53,7 +54,7 @@
timeout: 1
state: stopped
when:
- container_facts['prometheus_mysqld_exporter'] is not defined
- container_facts['prometheus_haproxy_exporter'] is not defined
- inventory_hostname in groups['prometheus-haproxy-exporter']
- enable_prometheus_haproxy_exporter | bool