1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update ansible

Disable the use of pip cache system wide, leaves no files hanging around in /root/.pip when disabled.
This commit is contained in:
Jerry Vonau 2021-10-30 11:29:26 -05:00 committed by GitHub
parent c39f3c2c89
commit e3a2825df7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -166,7 +166,8 @@ $APT_PATH/apt -y install python3-pip
# python3-setuptools python3-packaging python3-venv virtualenv # python3-setuptools python3-packaging python3-venv virtualenv
#$APT_PATH/apt -y --allow-downgrades install ansible-core \ #$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
pip config set global.cache-dir false
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n" echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
pip3 install --upgrade ansible-core pip3 install --upgrade ansible-core