mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
scripts/ansible: Clarify 'pip config set global.cache-dir false'
This commit is contained in:
parent
e3a2825df7
commit
f7ae4f95d4
1 changed files with 5 additions and 2 deletions
|
@ -165,8 +165,11 @@ $APT_PATH/apt -y install python3-pip
|
|||
# python3-pymysql python3-psycopg2 python3-passlib python3-pip \
|
||||
# python3-setuptools python3-packaging python3-venv virtualenv
|
||||
|
||||
#$APT_PATH/apt -y --allow-downgrades install ansible-core \
|
||||
# Using pip is messy, leaving behind cashed files, turn off pip cache system wide before installing
|
||||
#$APT_PATH/apt -y --allow-downgrades install ansible-core
|
||||
|
||||
# 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
|
||||
pip config set global.cache-dir false
|
||||
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
|
||||
pip3 install --upgrade ansible-core
|
||||
|
|
Loading…
Add table
Reference in a new issue