summaryrefslogtreecommitdiff
path: root/roles/monitoring/grafana/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/monitoring/grafana/tasks/main.yml')
-rw-r--r--roles/monitoring/grafana/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/monitoring/grafana/tasks/main.yml b/roles/monitoring/grafana/tasks/main.yml
index 5d6c9c17..240d8125 100644
--- a/roles/monitoring/grafana/tasks/main.yml
+++ b/roles/monitoring/grafana/tasks/main.yml
@@ -126,7 +126,7 @@
mode: 0750
- name: create sub-directories for dashboards
- loop: "{{ grafana_dashboards | grafana_dashboard_subdirs }}"
+ loop: "{{ grafana_dashboards | grafana_dashboard_subdirs | unique }}"
file:
path: "/var/lib/grafana/dashboards/ansible/{{ item }}"
state: directory