prometheus/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 21 Jan 2024 15:58:58 -0600
changeset 226 ce33bf94045f
parent 8 20975062661d
permissions -rw-r--r--
Added optional admin-local DNS bypass.
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