ansible-collection-prometheus/roles/snmp_exporter/handlers/main.yml
gardar 2c075e3b15
fix(lint): warning lint errors
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00

14 lines
322 B
YAML

---
- name: Reload snmp exporter
listen: "reload snmp exporter"
ansible.builtin.systemd:
daemon_reload: true
name: snmp_exporter
state: reloaded
- name: Restart snmp exporter
listen: "restart snmp exporter"
ansible.builtin.systemd:
daemon_reload: true
name: snmp_exporter
state: restarted