2022-12-27 10:43:32 +01:00
|
|
|
---
|
2023-11-20 11:47:05 +01:00
|
|
|
- name: "Grafana | Aktivere und starte Service"
|
2022-12-28 16:39:30 +01:00
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: grafana-server
|
|
|
|
enabled: true
|
|
|
|
state: started
|
|
|
|
daemon_reload: true
|
|
|
|
|
2023-11-20 11:47:05 +01:00
|
|
|
- name: "Grafana | Erzeuge Grafana-Konfiguration"
|
2022-12-27 10:43:32 +01:00
|
|
|
ansible.builtin.template:
|
|
|
|
src: grafana.ini
|
|
|
|
dest: /etc/grafana/grafana.ini
|
2023-11-20 11:47:05 +01:00
|
|
|
mode: "0640"
|
2022-12-27 10:43:32 +01:00
|
|
|
notify: restart grafana
|
|
|
|
|
2023-11-20 11:47:05 +01:00
|
|
|
- name: "Grafana | Installiere Image Renderer Module"
|
2022-12-27 10:49:33 +01:00
|
|
|
ansible.builtin.command:
|
|
|
|
cmd: grafana-cli plugins install grafana-image-renderer
|
|
|
|
creates: /var/lib/grafana/plugins/grafana-image-renderer
|