18 lines
461 B
YAML
Raw Normal View History

2021-04-29 18:53:56 +02:00
---
2023-07-20 15:40:35 +02:00
- include_tasks: ../common.yml
2022-11-16 11:30:49 +01:00
tags: ['prometheus_mysqld_exporter']
2022-11-11 21:08:07 +01:00
- name: 'mysqld exporter | configuration'
2021-10-29 18:23:10 +02:00
template:
src: conf/prometheus-mysqld-exporter.j2
dest: /etc/default/prometheus-mysqld-exporter
owner: root
group: root
mode: 0600
when:
- prometheus_mysqld_exporter_user is defined
register: prometheus_mysqld_exporter_configuration
notify:
2023-02-10 11:13:37 +01:00
- 'mysqld-exporter-restart'
2022-11-16 11:30:49 +01:00
tags: ['prometheus_mysqld_exporter']