ansible-role-borgbackup/handlers/main.yml

14 lines
333 B
YAML

---
- name: Restart exporter service
ansible.builtin.systemd:
name: prometheus-borg-exporter.service
daemon_reload: true
state: restarted
enabled: true
- name: Restart exporter timer
ansible.builtin.systemd:
name: prometheus-borg-exporter.timer
daemon_reload: true
state: restarted
enabled: true