1c0bd2ae11
Change-Id: I670597179b701aab1ca8e433be2f3abf1e78650a
18 lines
430 B
YAML
18 lines
430 B
YAML
---
|
|
|
|
|
|
- name: Refresh local facts
|
|
hosts: galera_all
|
|
tasks:
|
|
- name: refresh local facts
|
|
setup:
|
|
|
|
- name: mysqld_exporter
|
|
hosts: galera_all
|
|
roles:
|
|
- role: prometheus.prometheus.mysqld_exporter
|
|
vars:
|
|
mysqld_exporter_host: "{{ ansible_host }}"
|
|
mysqld_exporter_password: "{{ prometheus_mysqld_exporter_galera_password }}"
|
|
mysqld_exporter_web_listen_address: "{{ ansible_host }}:9104"
|