Merge "Test 2 major ansible versions"
This commit is contained in:
commit
1c95336154
4
releasenotes/notes/ansible9-26b181a8ca5716cf.yaml
Normal file
4
releasenotes/notes/ansible9-26b181a8ca5716cf.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Start testing and supporting Ansible 9.x in parallel with Ansible 8.x
|
@ -5,8 +5,12 @@ set -euo pipefail
|
||||
. $(dirname $0)/install-deps.sh
|
||||
# NOTE(pas-ha) the above exports some useful variables like
|
||||
# $PYTHON , $PIP and $VENV depending on venv install or not
|
||||
|
||||
DEFAULT_PIP_ANSIBLE='>=8,<9'
|
||||
source /etc/os-release
|
||||
if [[ $ID == "centos" ]] || [[ $VERSION_CODENAME == "bullseye" ]]; then
|
||||
DEFAULT_PIP_ANSIBLE='>=8,<9'
|
||||
elif [[ $ID == "ubuntu" ]] || [[ $VERSION_CODENAME == "bookworm" ]] ; then
|
||||
DEFAULT_PIP_ANSIBLE='>=9,<10'
|
||||
fi
|
||||
|
||||
ANSIBLE_COLLECTIONS_REQ=${ANSIBLE_COLLECTIONS_REQ:-$(dirname $0)/../ansible-collections-requirements.yml}
|
||||
ANSIBLE_COLLECTION_SOURCE_PATH=
|
||||
|
Loading…
Reference in New Issue
Block a user