mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-28 23:00:26 +00:00
af8fc8fd9e
Add a role for deploying the mysqld_exporter. Signed-off-by: SuperQ <superq@gmail.com>
10 lines
222 B
YAML
10 lines
222 B
YAML
---
|
|
- name: Restart mysqld_exporter
|
|
listen: "restart mysqld_exporter"
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
name: mysqld_exporter
|
|
state: restarted
|
|
when:
|
|
- not ansible_check_mode
|