This patch adds the grafana.overwrite_config option. You can change this
option if you want to keep your custom grafana configuration. The
scripts will still update the grafana config with the other configured
options but it won't overwrite your custom options.
Signed-off-by: Boris Ranto <branto@redhat.com>
# smtp_password: password
# If you like to enable Anonymous login, set auth_anonymous to true
# auth_anonymous: false
+# You can change this option if you want to keep your custom grafana configuration.
+# The script will still update the grafana config with the other configured options
+# but it won't overwrite your custom options.
+# overwrite_config: true
default_theme: light
snmp_enabled: false
auth_anonymous: false
+ # You can change this option if you want to keep your custom grafana configuration.
+ # The script will still update the grafana config with the other configured options
+ # but it won't overwrite your custom options.
+ overwrite_config: true
plugins:
- vonage-status-panel
- grafana-piechart-panel
owner: root
group: grafana
mode: 0640
+ force: "{{ grafana.overwrite_config }}"
tags: [ini]
- name: Set owner on /etc/grafana