From 19d479eda29387707b2d45af05c56c055b2a2e0e Mon Sep 17 00:00:00 2001 From: Gian Klug Date: Mon, 23 Sep 2024 10:10:53 +0200 Subject: [PATCH] fix: json filename from url hash --- tasks/configuration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configuration.yml b/tasks/configuration.yml index c4a72b6..cae69c2 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -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: