File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ upgrade :
3
+ - |
4
+ Start testing and supporting Ansible 9.x in parallel with Ansible 8.x
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ set -euo pipefail
5
5
. $( dirname $0 ) /install-deps.sh
6
6
# NOTE(pas-ha) the above exports some useful variables like
7
7
# $PYTHON , $PIP and $VENV depending on venv install or not
8
-
9
- DEFAULT_PIP_ANSIBLE=' >=8,<9'
8
+ source /etc/os-release
9
+ if [[ $ID == " centos" ]] || [[ $VERSION_CODENAME == " bullseye" ]]; then
10
+ DEFAULT_PIP_ANSIBLE=' >=8,<9'
11
+ elif [[ $ID == " ubuntu" ]] || [[ $VERSION_CODENAME == " bookworm" ]] ; then
12
+ DEFAULT_PIP_ANSIBLE=' >=9,<10'
13
+ fi
10
14
11
15
ANSIBLE_COLLECTIONS_REQ=${ANSIBLE_COLLECTIONS_REQ:- $(dirname $0 )/ ../ ansible-collections-requirements.yml}
12
16
ANSIBLE_COLLECTION_SOURCE_PATH=
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ filename = *.py
79
79
[testenv:linters]
80
80
allowlist_externals = bash
81
81
deps =
82
- ansible>=8,<9
83
- ansible-lint>=6,<7
82
+ ansible>=9,<10
83
+ ansible-lint>=24,<25
84
84
commands =
85
85
bash tools/ansible-lint.sh
86
86
You can’t perform that action at this time.
0 commit comments