Merge "Use Ansible 5.x"

This commit is contained in:
Zuul 2022-07-05 14:32:01 +00:00 committed by Gerrit Code Review
commit 5a2f223ea5
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

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