From 2559de1892dfe823a341d55de7860a7c5d582484 Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Thu, 18 Nov 2021 11:30:33 +0200 Subject: [PATCH] Replace ansible requirement by ansible-core Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/818794 Change-Id: I4ae3807292d2be84f42425357b6b37dcc58b9639 --- docs/doc-requirements.txt | 2 +- requirements.txt | 3 +-- tox.ini | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/doc-requirements.txt b/docs/doc-requirements.txt index e4a70fe..d540661 100644 --- a/docs/doc-requirements.txt +++ b/docs/doc-requirements.txt @@ -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 diff --git a/requirements.txt b/requirements.txt index e0375c0..655bb21 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/tox.ini b/tox.ini index ed2391c..ca3c72b 100644 --- a/tox.ini +++ b/tox.ini @@ -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]