aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/prometheus_exporter/handlers/main.yaml
blob: 9c374eaa619f8a9d521ad93f1e205ed02c68e408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# file roles/prometheus_exporter/handlers/main.yaml

- name: Restart Prometheus Node Exporter
  systemd:
    daemon_reload: true
    enabled: true
    name: "prometheus-node-exporter"
    state: "restarted"

- name: Restart Prometheus Blackbox Exporter
  systemd:
    daemon_reload: true
    enabled: true
    name: "prometheus-blackbox-exporter"
    state: "restarted"