]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
bootstrap: Remove ansible-core and ansible-base
authorZack Cerza <zack@cerza.org>
Thu, 28 Apr 2022 21:57:21 +0000 (15:57 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 29 Apr 2022 16:15:19 +0000 (10:15 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
bootstrap

index 5aa9fd834acc8a85712c1dd43418411efafe578d..4150b7ddcbd62c3208e563688339d1154fd9373d 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -158,7 +158,7 @@ if [ -f "$VENV/bin/ansible" ]; then
     ansible_version=$($VENV/bin/pip list --format json | python3 -c "import sys; import json; print(list(filter(lambda i: i['name'] == 'ansible', json.loads(sys.stdin.read())))[0]['version'])")
     uninstall_ansible=$(./$VENV/bin/python3 -c "from packaging.version import parse; print(parse('$ansible_version') < parse('2.10.0'))")
     if [ "$uninstall_ansible" = "True" ]; then
-        ./$VENV/bin/pip uninstall -y ansible
+        ./$VENV/bin/pip uninstall -y ansible ansible-base ansible-core
     fi
 fi