Use Ansible 5.x

Support most recent version of Ansible up to 5.x as default.

Change-Id: Ia2e9c78c56f6d0314471973e71de0b45e3309d71
This commit is contained in:
Riccardo Pittau 2022-05-30 14:10:56 +02:00
parent accab82f0c
commit 969a5e623f
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
---
features:
- |
Ansible 5.x is now supported and used by default.

View File

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

View File

@ -86,7 +86,7 @@ deps =
usedevelop = False
allowlist_externals = bash
deps =
ansible>=4,<5
ansible>=5,<6
ansible-lint>=5,<6
commands =
bash tools/ansible-lint.sh