From 9895c1fc289f90a644447047b284c05290878dfc Mon Sep 17 00:00:00 2001 From: Nemental <15136847+Nemental@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:44:53 +0100 Subject: [PATCH 1/3] fix: add org_name for dashboard task --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index ce6dd01..05c28e6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -81,6 +81,7 @@ url_username: "{{ grafana_username }}" url_password: "{{ grafana_password }}" org_id: "{{ dashboard.org_id | default(omit) }}" + org_name: "{{ dashboard.org_name | default(omit) }}" folder: "{{ dashboard.folder | default(omit) }}" state: "{{ dashboard.state | default(omit) }}" slug: "{{ dashboard.slug | default(omit) }}" From 54cfb58025792895bbcd5cce01ab207d8202c7e4 Mon Sep 17 00:00:00 2001 From: Nemental <15136847+Nemental@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:45:16 +0100 Subject: [PATCH 2/3] docs: add org_name to readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d39c16e..01b9d35 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Configure Grafana organizations, dashboards, folders, datasources, teams and use | skip_version_check | no | | [**grafana_dashboards**](https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_dashboard_module.html) | org_id | no | +| org_name | no | | folder | no | | state | no | | slug | no | From ec2714aa4cec985e1b99abd28852a5ee8efef04e Mon Sep 17 00:00:00 2001 From: Nemental <15136847+Nemental@users.noreply.github.com> Date: Fri, 8 Dec 2023 09:59:56 +0100 Subject: [PATCH 3/3] fix: remove url params --- tasks/main.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 86c1661..5129f55 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -68,9 +68,6 @@ - name: Manage dashboard community.grafana.grafana_dashboard: - url: "{{ grafana_url }}" - url_username: "{{ grafana_username }}" - url_password: "{{ grafana_password }}" org_id: "{{ dashboard.org_id | default(omit) }}" org_name: "{{ dashboard.org_name | default(omit) }}" folder: "{{ dashboard.folder | default(omit) }}"