From ebdcb5e3ee383c5b25b5ac7da0cd210a4a51177d Mon Sep 17 00:00:00 2001 From: Benjamin Schubert Date: Tue, 10 Dec 2024 22:19:03 +0000 Subject: [PATCH] fixup! fixup! fixup! Allow managing dashboards in subfolders --- .../tasks/dashboard-folder-destination.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration/targets/grafana_dashboard/tasks/dashboard-folder-destination.yml b/tests/integration/targets/grafana_dashboard/tasks/dashboard-folder-destination.yml index f8daeab6..02c39e39 100644 --- a/tests/integration/targets/grafana_dashboard/tasks/dashboard-folder-destination.yml +++ b/tests/integration/targets/grafana_dashboard/tasks/dashboard-folder-destination.yml @@ -43,6 +43,9 @@ community.grafana.grafana_folder: title: parent_folder state: present + url: "{{ grafana_url }}" + url_username: "{{ grafana_username }}" + url_password: "{{ grafana_password }}" register: parent_folder - name: Create the dashboard in the folder @@ -70,6 +73,9 @@ title: sub_folder parent_uid: "{{ parent_folder.folder.uid }}" state: present + url: "{{ grafana_url }}" + url_username: "{{ grafana_username }}" + url_password: "{{ grafana_password }}" register: sub_folder - name: Create the dashboard in the subfolder