Merge pull request 'Add grafana configuration and set up e-mail' (#4) from grafana-config into main
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
## Restart grafana on changes
|
||||
- name: restart grafana
|
||||
ansible.builtin.service:
|
||||
name: 'grafana-server'
|
||||
state: restarted
|
||||
@@ -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
Reference in New Issue
Block a user