Remove ansible-base when upgrading ansible

The remaining ansible-base package can also block clean ansible upgrade.

Change-Id: I8cda293b52c164c77678fc3b0535b01b57623e62
This commit is contained in:
Riccardo Pittau 2021-07-21 11:18:48 +02:00
parent dae1495861
commit 0f79637041
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ echo "Installing/upgrading Ansible"
ANSIBLE=${VENV}/bin/ansible
if [ -f "$ANSIBLE" ]; then
${PIP} uninstall -y ansible
${PIP} uninstall -y ansible-base
fi
${PIP} install "${ANSIBLE_SOURCE_PATH}"