Closed rockaut closed 4 years ago
Also tried with several other .zip plugins and all got the same error.
Looking into it it's because installing alexanderzobnin-grafana-zabbix @
is not reporting the plugin version and at module line 210 ( plugin_name, plugin_version = line.split(' @ ')
) breaks.
cc @rrey @seuf click here for bot help
ansible grafana modules are now versionned on a new dedicated collection repo : https://github.com/ansible-collections/grafana. Can you please do a new pull requests on this repo ?
Closing as issue has been raised in Grafana collection
SUMMARY
If using an offline .zip package for plugin installation the command fails while the plugin is actually installed correctly.
ISSUE TYPE
COMPONENT NAME
grafana_plugin
ANSIBLE VERSION
OS / ENVIRONMENT
Grafana 6.6.0 on RHEL7
STEPS TO REPRODUCE
Running this task results in the error seen below while
grafana-cli ls
reports:Also tried to manually execute the command the module is triggering:
/sbin/grafana-cli --pluginUrl /tmp/alexanderzobnin-grafana-zabbix-v3.10.5-1-g2219691.zip plugins install alexanderzobnin-grafana-zabbix
Which results in:
EXPECTED RESULTS
as the plugin is correctly installing the plugin it should report a success.
ACTUAL RESULTS
Module error: