summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/node/handlers/main.yml
blob: 8f5cb37ce0fefc43a9aea263dda8f796c939ab69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: restart prometheus-node-exporter
  service:
    name: prometheus-node-exporter
    state: restarted

- name: reload nginx
  service:
    name: nginx
    state: reloaded

- name: remove sensors state file
  file:
    path: /run/prometheus-node-exporter_sensors/state
    state: absent