Skip to content

Commit

Permalink
fix: json filename from url hash
Browse files Browse the repository at this point in the history
  • Loading branch information
gianklug committed Sep 23, 2024
1 parent 8b231c0 commit 19d479e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
- name: Download grafana dashboards
ansible.builtin.get_url:
url: "{{ item }}"
dest: "/var/lib/grafana/dashboards/{{ item | basename }}"
dest: "/var/lib/grafana/dashboards/{{ item | hash('sha256') }}.json"
mode: '0644'
loop: "{{ icinga2_web_grafana_dashboards }}"
when:
Expand Down

0 comments on commit 19d479e

Please sign in to comment.