1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

scripts/ansible: Doc/Discussion re 'pip3 config --global set global.cache-dir false'

This commit is contained in:
A Holt 2021-11-08 04:25:42 -05:00 committed by GitHub
parent 202d537db1
commit 6aacb05157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,7 @@ $APT_PATH/apt -y install python3-pip
# 2021-10-30: Using pip is messy, leaving behind cached files, so turn off pip
# cache system-wide before installing:
# https://stackoverflow.com/questions/9510474/removing-pips-cache/61762308#61762308
# https://github.com/iiab/iiab/pull/3022
pip3 config --global set global.cache-dir false
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
if grep -qr buster /etc/apt; then