ansible-grafana
ansible-grafana copied to clipboard
Ability to update or remove plugins
What is missing? Ability to update or remove plugins
Why do we need it? When using grafana plugins, sometimes it needs update to work correctly with latest grafana. Also when we want to uninstall plugin we must do it manually because role doesn't handle it. I would be great if installed plugins reflected list defined by variable grafana_plugins.
Environment
-
Role version:
0.17.0 -
Ansible version information:
ansible 2.9.5
Anything else we need to know?:
Good idea :+1:
We are trying now to refactor this role to use more ansible modules to handle grafana-specific features instead of our hacks. If the upstream grafana_plugins module can handle removals of plugins, then it should be a straight forward fix. If it doesn't, please create an issue there as the propagation of features inside modules can take some time.
Module you mentioned supports update & uninstall according to docs https://docs.ansible.com/ansible/latest/modules/grafana_plugin_module.html.
Do you want help with refactoring this part of role?
If you have some spare time, I am open for PRs :)