kubernetes-sigs/image-builder

Make ensure-ansible.sh check Ansible version

knabben opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Ansible changed their collections server, it's needed Ansible >=2.13.9 to use it. Otherwise a not so clear error is raised when previous versions try to use it

ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/community/general/versions/'

Describe the solution you'd like
Adding this on ansible.cfg, force the old server usage.

[galaxy]
server = https://old-galaxy.ansible.com/

Additional context
Adding a warning on checking semver used with a closed fail can clarify the error for the enduser

/kind feature