prometheus/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 16 Nov 2020 16:43:09 -0600
changeset 144 267d58c0e186
parent 8 20975062661d
permissions -rw-r--r--
Replaced with_items with loop.

---

- 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