tests: uninstall ansible prior to install 6.0 req

in order to avoid conflict with previous version installed

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/7199/head
Guillaume Abrioux 2022-06-06 15:20:09 +02:00
parent 6c9b1e1c55
commit 62af15cd41
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ commands=
ceph_docker_registry_password={env:DOCKER_HUB_PASSWORD} \
"'
pip uninstall -y ansible
pip install -r {toxinidir}/tests/requirements.txt
# upgrade mons
# mon1

View File

@ -61,6 +61,7 @@ commands=
ceph_nfs_rgw_access_key=fake_access_key \
ceph_nfs_rgw_secret_key=fake_secret_key \
"'
pip uninstall -y ansible
pip install -r {toxinidir}/tests/requirements.txt
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/infrastructure-playbooks/rolling_update.yml --extra-vars "\
ireallymeanit=yes \