Standardise Ansible versions used in repo (v9)
(Originally raised as https://gitlab.developers.cam.ac.uk/uis/devops/devhub/ci-runner-ng/-/issues/24)
I've noticed some discrepancies in the Ansible versions used across this repository:
run-ansible-playbook.shcurrently uses ouransible-playbook:7Docker image (Ansible v7).- The
ansible-checkjob in.gitlab-ci.ymluses ouransible-playbook:10image (Ansible v10).- The
ansible-lintjob in.gitlab-ci.ymluses the third-partyregistry.gitlab.com/pipeline-components/ansible-lint:0.79.0image, which includes Ansible v11.3.0.Ideally, all Ansible executions (local and CI) should run the same Ansible version. To achieve this, we may need to bring the linting image in-house, or extend our existing
ansible-playbookimage to support linting.
But since https://gitlab.developers.cam.ac.uk/uis/devops/devhub/ci-runner-ng created from this template, it makes sense to fix it here and then update copier there.