Skip to content

Commit

Permalink
fixup! fixup! fixup! Allow managing dashboards in subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminSchubert committed Dec 10, 2024
1 parent 3afa088 commit ebdcb5e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ebdcb5e

Please sign in to comment.