Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grafana: Add foldersFromFilesStructure option #326

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

root-expert
Copy link

This PR adds support for the provisioning option foldersFromFilesStructure.

Changes:

  • Add option grafana_provisioning_dashboards_from_file_structure which controls foldersFromFilesStructure
  • Copy whole grafana_dashboards_dir directory instead of just the json files to include any potential folder
  • Set correct permissions on any dashboard folder
  • Switch to ansible.builtin.find to check if there are dashboards to import, since fileglob doesn't support recursion.

Closes #277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support foldersFromFilesStructure
1 participant