You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered the following issue while running the role grafana.grafana.grafana.
TASK [grafana.grafana.grafana : Datasources] ************************************************************************************************************************************
ERROR! couldn't resolve module/action 'community.grafana.grafana_datasource'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/home/.../collections/ansible_collections/grafana/grafana/roles/grafana/tasks/datasources.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
---
- name: "Ensure datasources exist (via API)"
^ here
Hello!
I have encountered the following issue while running the role
grafana.grafana.grafana
.Link to the offending line.
The reason is clear: the collection
community.grafana
is missing. As far as I understand from the presence of arequirements.yml
file in the repository, the collectionscommunity.general
,community.grafana
andansible.posix
are dependencies of the collectiongrafana.grafana
. Installingcommunity.grafana
fixes the issue.However, would it not make sense to use the
dependencies
key of thegalaxy.yml
file, as the Ansible documentation explains?The text was updated successfully, but these errors were encountered: