prometheus/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 08 Aug 2022 21:16:41 -0500
changeset 183 b31ef0e10cad
parent 8 20975062661d
permissions -rw-r--r--
Added Dendrite symlink to port workaround.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
4f014cdac0b1 Completed prometheus basic roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
---
4f014cdac0b1 Completed prometheus basic roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
4f014cdac0b1 Completed prometheus basic roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
- name: restart prometheus service
4f014cdac0b1 Completed prometheus basic roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
  systemd: name="prometheus.service" state="restarted" daemon_reload="yes"
4f014cdac0b1 Completed prometheus basic roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
  become: yes
8
20975062661d Added grafana restart handler.
Luke Hoersten <luke@hoersten.org>
parents: 5
diff changeset
     6
20975062661d Added grafana restart handler.
Luke Hoersten <luke@hoersten.org>
parents: 5
diff changeset
     7
- name: restart grafana service
20975062661d Added grafana restart handler.
Luke Hoersten <luke@hoersten.org>
parents: 5
diff changeset
     8
  systemd: name="grafana-server.service" state="restarted" daemon_reload="yes"
20975062661d Added grafana restart handler.
Luke Hoersten <luke@hoersten.org>
parents: 5
diff changeset
     9
  become: yes