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