mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Work-around for get-pip.py install failure.
This commit is contained in:
@@ -22,7 +22,7 @@ if [ "${platform}" = "freebsd" ]; then
|
|||||||
sleep 10
|
sleep 10
|
||||||
done
|
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
|
elif [ "${platform}" = "rhel" ]; then
|
||||||
while true; do
|
while true; do
|
||||||
yum install -y \
|
yum install -y \
|
||||||
@@ -36,7 +36,7 @@ elif [ "${platform}" = "rhel" ]; then
|
|||||||
sleep 10
|
sleep 10
|
||||||
done
|
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
|
fi
|
||||||
|
|
||||||
if [ "${platform}" = "freebsd" ] || [ "${platform}" = "osx" ]; then
|
if [ "${platform}" = "freebsd" ] || [ "${platform}" = "osx" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user