mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-29 15:20:17 +00:00
0907b14def
Update the blackbox_exporter and snmp_exporter installs to be consistent with other exporter package installs. Signed-off-by: SuperQ <superq@gmail.com>
16 lines
352 B
YAML
16 lines
352 B
YAML
---
|
|
- name: Reload snmp_exporter
|
|
listen: "reload snmp_exporter"
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
name: snmp_exporter
|
|
state: reloaded
|
|
|
|
- name: Restart snmp_exporter
|
|
listen: "restart snmp_exporter"
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
name: snmp_exporter
|
|
state: restarted
|