From: Zack Cerza Date: Thu, 28 Apr 2022 21:57:21 +0000 (-0600) Subject: bootstrap: Remove ansible-core and ansible-base X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=df6d93053ec47a9a739a911a61cf5aa027d41075;p=teuthology.git bootstrap: Remove ansible-core and ansible-base Signed-off-by: Zack Cerza --- diff --git a/bootstrap b/bootstrap index 5aa9fd834a..4150b7ddcb 100755 --- 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