prometheus/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Tue, 09 Jun 2020 19:21:46 -0500
changeset 40 b42b417751e5
parent 8 20975062661d
permissions -rw-r--r--
Moved over postgresql and nginx roles from pleroma roles.
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