r/grafana: Ensure configuration directory exists

The *grafana* package for Fedora creates `/etc/grafana`, but it is not
created by default on Buildroot-based systems.
btop
Dustin 2022-08-05 22:05:51 -05:00
parent 7e08fb66f7
commit 13e26ac64c
1 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,13 @@
tags:
- install
- name: ensure grafana configuration directory exists
file:
path: /etc/grafana
mode: u=rwx,go=rx
owner: root
group: root
state: directory
- name: ensure grafana is configured
template:
src: grafana.ini.j2