From 796fa9ea36a4f6436d079616803e1683f81e397d Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 28 Apr 2022 15:57:21 -0600 Subject: [PATCH] bs rm ansible pkgs --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index a4b955a052..f0258fa84f 100755 --- a/bootstrap +++ b/bootstrap @@ -159,7 +159,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('5.0'))") if [ "$uninstall_ansible" = "True" ]; then - ./$VENV/bin/pip uninstall -y ansible + ./$VENV/bin/pip uninstall -y ansible ansible-base ansible-core fi fi -- 2.39.5