prometheus/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 10 Feb 2020 09:02:51 -0600
changeset 8 20975062661d
parent 5 4f014cdac0b1
permissions -rw-r--r--
Added grafana restart handler.

---

- name: restart prometheus service
  systemd: name="prometheus.service" state="restarted" daemon_reload="yes"
  become: yes

- name: restart grafana service
  systemd: name="grafana-server.service" state="restarted" daemon_reload="yes"
  become: yes