1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Work-around for get-pip.py install failure.

This commit is contained in:
Matt Clay 2018-04-14 12:44:35 -07:00
parent 5bf5f25115
commit fa466be33d

View file

@ -22,7 +22,7 @@ if [ "${platform}" = "freebsd" ]; then
sleep 10
done
pip --version 2>/dev/null || curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | python
pip --version 2>/dev/null || curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | python - --force-reinstall
elif [ "${platform}" = "rhel" ]; then
while true; do
yum install -y \
@ -36,7 +36,7 @@ elif [ "${platform}" = "rhel" ]; then
sleep 10
done
pip --version 2>/dev/null || curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | python
pip --version 2>/dev/null || curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | python - --force-reinstall
fi
if [ "${platform}" = "freebsd" ] || [ "${platform}" = "osx" ]; then