usegalaxy-eu / infrastructure-playbook

Ansible playbook for managing UseGalaxy.eu infrastructure.
MIT License
16 stars 91 forks source link

Upgrade collection `grafana.grafana` to v5.3.0 #1277

Closed kysrpex closed 1 month ago

kysrpex commented 1 month ago

Upgrade grafana.grafana from git+https://github.com/usegalaxy-eu/ansible-grafana-collection-grafana.git/,cc9f61c0ae30c12eecf2af4696d95a84ea4565e1 (usegalaxy-eu/ansible-grafana-collection fork) to latest official release, reason for change https://github.com/usegalaxy-eu/issues/issues/558#issuecomment-2248069738. Please note that, although it is not a problem because we are not using them anymore, this involves tasks "Import grafana dashboards via api" breaking and "Ensure datasources exist (via API)" not taking UIDs anymore.

Version 5.3.0 fixed the role grafana.grafana.grafana not populating the [unified_alerting] section of grafana.ini (https://github.com/grafana/grafana-ansible-collection/pull/215). Therefore, remove the post_task from the grafana.yml playbook that worked the issue around.

This fixes playbooks not working in Jenkins (e.g. usegalaxy-eu/playbooks/sn06#1984).

mira-miracoli commented 1 month ago

Thank you @kysrpex !