community.grafana.grafana_folder – Manage Grafana Folders¶
Note
This plugin is part of the community.grafana collection (version 1.1.0).
To install it use: ansible-galaxy collection install community.grafana
.
To use it in a playbook, specify: community.grafana.grafana_folder
.
New in version 1.0.0: of community.grafana
Synopsis¶
Create/update/delete Grafana Folders through the Folders API.
The Folders API is only available starting Grafana 5 and the module will fail if the server version is lower than version 5.
Parameters¶
Examples¶
---
- name: Create a folder
community.grafana.grafana_folder:
url: "https://grafana.example.com"
grafana_api_key: "{{ some_api_token_value }}"
title: "grafana_working_group"
state: present
- name: Delete a folder
community.grafana.grafana_folder:
url: "https://grafana.example.com"
grafana_api_key: "{{ some_api_token_value }}"
title: "grafana_working_group"
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rémi REY (@rrey)