Replace ansible requirement by ansible-core

Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/818794
Change-Id: I4ae3807292d2be84f42425357b6b37dcc58b9639
This commit is contained in:
Sagi Shnaidman 2021-11-18 11:30:33 +02:00 committed by Shnaidman Sagi (Sergey)
parent 3cb42de4eb
commit 2559de1892
3 changed files with 4 additions and 5 deletions

View File

@ -2,4 +2,4 @@
sphinx>=1.1.2,!=1.2.0,!=1.3b1
oslosphinx>=2.2.0 # Apache-2.0
sphinx_rtd_theme==0.1.7
ansible
ansible-core>=2.11,<2.12

View File

@ -1,3 +1,2 @@
pbr>=1.6
# Do not remove 2.10, ansible-test and tox-ansible require it
ansible>=2.5,<2.11
ansible-core>=2.11,<2.12

View File

@ -59,12 +59,12 @@ setenv =
# 2/3 molecule scenarios are expected to pass
PYTEST_REQPASS=2
deps =
ansible>=2.9,<2.10
ansible-core>=2.11,<2.12
molecule[test,docker]>=3.3.2,<3.4 # MIT
pytest-molecule>=1.4.0
pytest-plus # provides support for PYTEST_REQPASS
commands =
ansible-galaxy collection install community.docker
ansible-galaxy collection install --force community.docker:=1.10.0 community.general:=4.0.2
python -m pytest --color=yes --html={envlogdir}/reports.html --self-contained-html {tty:-s} -k molecule {posargs}
[testenv:ansible]