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
parent
7e08fb66f7
commit
13e26ac64c
|
@ -5,6 +5,13 @@
|
||||||
tags:
|
tags:
|
||||||
- install
|
- 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
|
- name: ensure grafana is configured
|
||||||
template:
|
template:
|
||||||
src: grafana.ini.j2
|
src: grafana.ini.j2
|
||||||
|
|
Loading…
Reference in New Issue