mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-26 05:40:18 +00:00
06490d7c8b
* feat: Add postgres_exporter role --------- Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>
10 lines
228 B
YAML
10 lines
228 B
YAML
---
|
|
- name: Restart postgres_exporter
|
|
listen: "restart postgres_exporter"
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
name: postgres_exporter
|
|
state: restarted
|
|
when:
|
|
- not ansible_check_mode
|