We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e77b2e commit ef5eecfCopy full SHA for ef5eecf
ansible/monitoring.yml
@@ -84,6 +84,16 @@
84
# done during fatimage - can't do this in vars block as that is recursive
85
ansible.builtin.set_fact:
86
grafana_plugins: "{{ [] if appliances_mode == 'configure' else grafana_plugins }}"
87
+ - name: Copy Grafana plugins installed in image into persistent grafana state
88
+ ansible.builtin.copy:
89
+ remote_src: true
90
+ src: /var/lib/grafana/plugins/ # trailing / means copy contents
91
+ dest: "{{ grafana_data_dir }}/plugins/"
92
+ # below matches what already exists:
93
+ owner: root
94
+ group: root
95
+ mode: '0755'
96
+ become: true
97
- include_role:
98
name: cloudalchemy.grafana
99
vars:
0 commit comments