Uplift default Ansible version to 8.x

Change-Id: Iabb9f55b8dacc7ef9965ac60d67e70b60dd723c5
This commit is contained in:
Riccardo Pittau 2023-12-19 12:39:42 +01:00
parent 77898f7da3
commit c64f6ba5c1
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
--- ---
upgrade: upgrade:
- | - |
The default supported version of Ansible is now 7.x The default supported version of Ansible is now 8.x

View File

@ -6,7 +6,7 @@ set -euo pipefail
# NOTE(pas-ha) the above exports some useful variables like # NOTE(pas-ha) the above exports some useful variables like
# $PYTHON , $PIP and $VENV depending on venv install or not # $PYTHON , $PIP and $VENV depending on venv install or not
DEFAULT_PIP_ANSIBLE='>=7,<8' DEFAULT_PIP_ANSIBLE='>=8,<9'
ANSIBLE_COLLECTIONS_REQ=${ANSIBLE_COLLECTIONS_REQ:-$(dirname $0)/../ansible-collections-requirements.yml} ANSIBLE_COLLECTIONS_REQ=${ANSIBLE_COLLECTIONS_REQ:-$(dirname $0)/../ansible-collections-requirements.yml}
ANSIBLE_COLLECTION_SOURCE_PATH= ANSIBLE_COLLECTION_SOURCE_PATH=

View File

@ -79,7 +79,7 @@ filename = *.py
[testenv:linters] [testenv:linters]
allowlist_externals = bash allowlist_externals = bash
deps = deps =
ansible>=7,<8 ansible>=8,<9
ansible-lint>=6,<7 ansible-lint>=6,<7
commands = commands =
bash tools/ansible-lint.sh bash tools/ansible-lint.sh