ansible-collection-prometheus/roles/fail2ban_exporter/handlers/main.yml
Oleg Klyuchkin 945f39366c
feat: Add fail2ban_exporter role (#294)
* feat: Add fail2ban_exporter role

---------

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

10 lines
228 B
YAML

---
- name: Restart fail2ban_exporter
listen: "restart fail2ban_exporter"
become: true
ansible.builtin.systemd:
daemon_reload: true
name: fail2ban_exporter
state: restarted
when:
- not ansible_check_mode