Commit 7ecf308a authored by tec's avatar tec

Add grafana image render plugin

parent c50277ab
...@@ -15,6 +15,13 @@ ...@@ -15,6 +15,13 @@
shell: setcap 'cap_net_bind_service=+ep' /usr/sbin/grafana-server shell: setcap 'cap_net_bind_service=+ep' /usr/sbin/grafana-server
- name: Restart grafana - name: Restart grafana
shell: systemctl restart grafana-server.service shell: systemctl restart grafana-server.service
- name: Check if grafana image render plugin is installed
path: /Users/mdtutorials2/Documents/Ansible/prompt.yaml
register: grafana_img_render_folder_details
- name: Install grafana image render plugin
shell: grafana-cli plugins install grafana-image-renderer
when: !grafana_img_render_folder_details.stat.exists
vars: vars:
prometheus_targets: prometheus_targets:
node: node:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment