Skip to content

Commit

Permalink
fix: dashboard import play
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh6790 committed Mar 11, 2024
1 parent 0e8c858 commit 7ef9164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions press/playbooks/roles/grafana/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
src: '{{ item }}'
dest: '/home/frappe/grafana/data/dashboards/{{ item }}'
mode: 0755
remote_src: yes
with_items:
- docker_container.json
- mysql_overview.json
Expand Down Expand Up @@ -103,11 +102,12 @@
state: restarted

- name: Import Grfana Dashboard
grafana_dashboard:
community.grafana.grafana_dashboard:
grafana_url: 'https://{{ server }}'
grafana_user: admin
grafana_password: '{{ grafana_password }}'
state: present
org_id: 1
overwrite: yes
path: '/home/frappe/grafana/data/dashboards/{{ item }}'
with_items:
Expand Down

0 comments on commit 7ef9164

Please sign in to comment.