roles: grafana: Add grafana configuration

This commit is contained in:
2026-06-13 16:05:14 +00:00
parent eabaff50f7
commit 71b8ae618d
3 changed files with 1937 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
## Restart grafana on changes
- name: restart grafana
ansible.builtin.service:
name: 'grafana-server'
state: restarted
+7
View File
@@ -6,6 +6,13 @@
name: 'grafana'
state: latest
- name: Add grafana configuration
tags: grafana-configure
ansible.builtin.template:
src: grafana.ini.j2
dest: '/etc/grafana/grafana.ini'
notify: restart grafana
- name: Enable Grafana service
tags: grafana-enable
ansible.builtin.service:
File diff suppressed because it is too large Load Diff