This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 305
WTF bug with grafana_dashboards_dir == dashboards #136
Labels
Comments
Could you test what would happen if we remove |
Hello. If I do I checked the second scenario: no
|
Then I think we should remove |
amarao
added a commit
to amarao/ansible-grafana
that referenced
this issue
Feb 7, 2019
It cause wrong fileglob lookup. If user wants to use own 'dashboards' directory, fileglob with stuck to files/dashboards and find nothing. Closes: cloudalchemy#136
paulfantom
pushed a commit
that referenced
this issue
Feb 7, 2019
It cause wrong fileglob lookup. If user wants to use own 'dashboards' directory, fileglob with stuck to files/dashboards and find nothing. Closes: #136
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
cosandr
pushed a commit
to cosandr/ansible-grafana
that referenced
this issue
Aug 12, 2020
It cause wrong fileglob lookup. If user wants to use own 'dashboards' directory, fileglob with stuck to files/dashboards and find nothing. Closes: cloudalchemy#136
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If
grafana_dashboards_dir
is set todashboards
fileglob findsroles/cloudalchemy.grafana/files/dashboards
and ignores all other folders in the playbook directory.It cause some big WTF as
grafana_dashboards_dir=myboards
will loads dashboards from it (f.e.myproject/dashboards
(with the role insidemyproject/roles/cloudalchemy.grafana
)), andgrafana_dashboards_dir=dashboards
won't find anything because it findsmyproject/roles/cloudalchemy.grafana/files/dashboards
and stops there instead of looking intomyproject/dashboards
.I think it should be noted in documentation (defaults/main.yaml), or, better, to be fixed work with 'dashboards' name.
The text was updated successfully, but these errors were encountered: