Grafana: Run priviliged when copying home dashboard file
The copy job for the grafana home dashboard file needs to run priviliged, otherwise permission denied error occurs. Closes-Bug: #1947710 Change-Id: Ib15e961e5193af55e45a443305a96667295f3cb7
This commit is contained in:
parent
f1cbff6b7e
commit
82b0e095a5
@ -76,6 +76,7 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Copying over grafana home dashboard if exists
|
- name: Copying over grafana home dashboard if exists
|
||||||
|
become: true
|
||||||
template:
|
template:
|
||||||
src: "{{ node_custom_config }}/grafana/grafana_home_dashboard.json"
|
src: "{{ node_custom_config }}/grafana/grafana_home_dashboard.json"
|
||||||
dest: "{{ node_config_directory }}/grafana/grafana_home_dashboard.json"
|
dest: "{{ node_config_directory }}/grafana/grafana_home_dashboard.json"
|
||||||
|
7
releasenotes/notes/bug-1947710-6d0975ae72f43ada.yaml
Normal file
7
releasenotes/notes/bug-1947710-6d0975ae72f43ada.yaml
Normal 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>`__
|
Loading…
x
Reference in New Issue
Block a user