Merge pull request #99 from sebbbastien/fix-handlers

fix: add "become: true" to snmp_exporter handlers
This commit is contained in:
Ben Kochie 2023-05-06 21:52:04 +02:00 committed by GitHub
commit 06fa05cae6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
---
- name: Reload snmp exporter
listen: "reload snmp exporter"
become: true
ansible.builtin.systemd:
daemon_reload: true
name: snmp_exporter
@ -8,6 +9,7 @@
- name: Restart snmp exporter
listen: "restart snmp exporter"
become: true
ansible.builtin.systemd:
daemon_reload: true
name: snmp_exporter