ansible / ansible.builtin / v2.6.20 / module / grafana_plugin Manage Grafana plugins via grafana-cli | "added in version" 2.5 of ansible.builtin" Authors: Thierry Sallé (@tsalle) preview | supported by communityansible.builtin.grafana_plugin (v2.6.20) — module
pip
Install with pip install ansible==2.6.20
Install and remove Grafana plugins.
--- - name: Install - update Grafana piechart panel plugin grafana_plugin: name: grafana-piechart-panel version: latest state: present
name: description: - Name of the plugin. required: true state: choices: - absent - present default: present description: - Status of the Grafana plugin. - If latest is set, the version parameter will be ignored. version: description: - Version of the plugin to install. - Default to latest. grafana_repo: description: - Grafana repository. If not set, gafana-cli will use the default value C(https://grafana.net/api/plugins). grafana_plugin_url: description: - Custom Grafana plugin URL. - Requires grafana 4.6.x or later. grafana_plugins_dir: description: - Directory where Grafana plugin will be installed.
version: description: version of the installed / removed plugin. returned: allways type: string