From 8d5355dbc16d72802bc85f64bdb95400aec18a7d Mon Sep 17 00:00:00 2001 From: "Dai, Dang Van" Date: Thu, 27 Dec 2018 19:43:19 +0700 Subject: [PATCH] Fix bootstrap prometheus container location This change to fix the case that I won't use prometheus-mysqld-exporter Change-Id: I1936bbae0172f4e65605d71066dced837bc30f7a --- ansible/roles/prometheus/tasks/bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/prometheus/tasks/bootstrap.yml b/ansible/roles/prometheus/tasks/bootstrap.yml index 67480e1e78..512fbcb86a 100644 --- a/ansible/roles/prometheus/tasks/bootstrap.yml +++ b/ansible/roles/prometheus/tasks/bootstrap.yml @@ -13,7 +13,7 @@ priv: "*.*:PROCESS,REPLICATION CLIENT,SELECT" append_privs: "yes" run_once: True - delegate_to: "{{ groups['prometheus-mysqld-exporter'][0] }}" + delegate_to: "{{ groups['prometheus'][0] }}" when: - enable_prometheus_mysqld_exporter | bool - not use_preconfigured_databases | bool