From: Anil Belur Date: Fri, 16 Feb 2024 10:42:31 +0000 (+1000) Subject: Fix: Update ansible and python > 3.10 X-Git-Tag: v0.16.1~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=3f0c82d1a0de1997625e425ec97dcc8dd5f8b34d;p=releng%2Fcommon-packer.git Fix: Update ansible and python > 3.10 ERROR: 9.0.1 Requires-Python >=3.10; 9.1.0 Requires-Python >=3.10; 9.2.0 Requires-Python >=3.10 Update ansible to 9.2.0 Change-Id: I46d78f3e77a5cad0d7ce1cc1074fc8e7ac53c3d0 Signed-off-by: Anil Belur --- diff --git a/ansible-galaxy.sh b/ansible-galaxy.sh index 82e3881..6ee9589 100755 --- a/ansible-galaxy.sh +++ b/ansible-galaxy.sh @@ -19,8 +19,8 @@ wget -q https://raw.githubusercontent.com/lfit/releng-global-jjb/master/jenkins- # shellcheck disable=SC1090 . ~/lf-env.sh -lf-activate-venv --python python3 --venv-file "/tmp/.ansible_venv" \ - ansible~=2.15.9 +lf-activate-venv --python python3.10 --venv-file "/tmp/.ansible_venv" \ + ansible~=9.2.0 ansible_roles_path=${1:-.galaxy} ansible_requirements_file=${2:-requirements.yaml}