prometheus/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Thu, 23 Feb 2023 17:55:33 -0600
changeset 210 dcdb18c5dc21
parent 8 20975062661d
permissions -rw-r--r--
Version updates
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