kolla-ansible/ansible/roles/grafana/templates/grafana.json.j2
zhubingbing ce3126c54a
Fix grafana upgrade permission issue
Change-Id: I15d96a8ee04f860ce149b8a64f306e181383d2fa
Partial-Bug: #1631503
2016-10-18 11:09:34 +08:00

24 lines
597 B
Django/Jinja

{
"command": "/usr/sbin/grafana-server --config=/etc/grafana/grafana.ini",
"config_files": [
{
"source": "{{ container_config_directory }}/grafana.ini",
"dest": "/etc/grafana/grafana.ini",
"owner": "grafana",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/grafana",
"owner": "grafana:grafana",
"recurse": true
},
{
"path": "/var/log/kolla/grafana",
"owner": "grafana:grafana",
"recurse": true
}
]
}