Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

feat(dashboard): manage by org_name #20

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
- name: Manage dashboard
community.grafana.grafana_dashboard:
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) }}"
Expand Down