ansible-collection-prometheus/roles/postgres_exporter/handlers/main.yml
Oleg Klyuchkin 06490d7c8b
feat: Add postgres_exporter role (#291)
* feat: Add postgres_exporter role

---------

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>
2024-02-22 14:44:11 +01:00

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