Closed martin059 closed 5 months ago
Read this comment https://github.com/martin059/virtualization-level-2-vagrant-setup/issues/42#issuecomment-2134102964 to configure the Grafana
container through bash
and/or Ansible playbook.
This issue was done in parallel to the ones it depended on, so no further changes are necessary after finishing the other issues. Hence this issue will be closed.
With the current implementation, the ability to load a base Grafana configuration without a password has been removed. If no password is defined in the custom
configuration file or the password is incorrect, no automatic configuration will be performed. A future issue will be created to re-add this functionality, allowing a configuration without the private Slack hook if no correct password is given.
Additionally, a bug was detected where the configuration would be incorrectly loaded into the Grafana container, causing it to restart constantly and crash with the error "the database is read-only." This isn't a major issue since a manual workaround can be performed by destroying the container and its volume, then re-raising the container and manually invoking the script to automatically import the configuration. A future issue will also be created to address this bug.
Issue description
Depends on:
Once
Grafana
's configuration has been exported and uploaded to this repo. Look for a way to expand theGrafana
Ansible role to also automatically deploy the configuration while the role is being provisionedDevelopment task
Grafana
instance through the console