Merge "Grafana: Run priviliged when copying home dashboard file"

This commit is contained in:
Zuul 2021-11-05 12:28:47 +00:00 committed by Gerrit Code Review
commit 12035a7049
2 changed files with 8 additions and 0 deletions

View File

@ -76,6 +76,7 @@
run_once: True
- name: Copying over grafana home dashboard if exists
become: true
template:
src: "{{ node_custom_config }}/grafana/grafana_home_dashboard.json"
dest: "{{ node_config_directory }}/grafana/grafana_home_dashboard.json"

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes the copy job for grafana custom home dashboard file.
The copy job for the grafana home dashboard file needs to run priviliged,
otherwise permission denied error occurs.
`LP#[1947710] <https://launchpad.net/bugs/1947710>`__