aboutsummaryrefslogtreecommitdiff
path: root/roles/grafana/handlers/main.yml
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-04-04 21:24:22 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-04-04 21:24:22 +0200
commite835ea003eb91a534bfcead68062562e6ed1e665 (patch)
tree590f4d91c0514377895433f7d68d8b9eef7cf287 /roles/grafana/handlers/main.yml
parent03984cc21f9b2fbc6925a0c29d078fd140240a91 (diff)
downloadansible_collection-e835ea003eb91a534bfcead68062562e6ed1e665.tar.gz
add grafana
Diffstat (limited to 'roles/grafana/handlers/main.yml')
-rw-r--r--roles/grafana/handlers/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/grafana/handlers/main.yml b/roles/grafana/handlers/main.yml
new file mode 100644
index 0000000..f5ae831
--- /dev/null
+++ b/roles/grafana/handlers/main.yml
@@ -0,0 +1,7 @@
+---
+- name: Restart Grafana
+ systemd:
+ name: grafana-server
+ state: restarted
+ enabled: yes
+ become: yes