Merge "Fix prometheus prechecks for haproxy and memcached" into stable/rocky
This commit is contained in:
commit
0e5c1a0acd
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user