From: Paul Cuzner Date: Thu, 29 Jun 2017 02:53:43 +0000 (+1200) Subject: status-panel: Update the bkgnd color to support the light theme X-Git-Tag: v1.0~50^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c9940e71f152da36c443c30ec3069828e8a54919;p=cephmetrics.git status-panel: Update the bkgnd color to support the light theme By default the panel just uses 'green', which with the light theme is too dark, making the text on the panel difficult to read. This ansible step just updates the color in the css to make the text more readable --- diff --git a/ansible/roles/ceph-grafana/tasks/grafana_plugins.yml b/ansible/roles/ceph-grafana/tasks/grafana_plugins.yml index 84dec0d..6ee13e6 100644 --- a/ansible/roles/ceph-grafana/tasks/grafana_plugins.yml +++ b/ansible/roles/ceph-grafana/tasks/grafana_plugins.yml @@ -15,3 +15,6 @@ - name: Update Grafana plugins command: "grafana-cli plugins update {{ item }}" with_items: "{{ grafana_plugins }}" + +- name: Update status-panel for readability within the 'light' theme + command: "sed -i.bak -e 's/green/rgb(1,167,1)/g' /var/lib/grafana/plugins/vonage-status-panel/dist/css/status_panel.css"