scripts: bootstrap-ansible: Install python-pip on SUSE and Ubuntu

SUSE and Ubuntu provide a relatively new python-pip package. Having it
installed can save us a bit of time since the pip_install role will not
have to do much on these distributions.

Change-Id: If51c3fb37b934a91ab44a522c6f9772f2dd91d31
This commit is contained in:
Markos Chandras 2018-05-24 13:48:43 +01:00
parent 362e9b24f2
commit 999f84325c

View File

@ -84,12 +84,13 @@ case ${DISTRO_ID} in
python3 python3-dev \
libssl-dev libffi-dev \
python-apt python3-apt \
python-pip \
python-virtualenv
;;
opensuse)
zypper -n install -l git-core curl autoconf gcc gcc-c++ \
netcat-openbsd python python-xml python-devel gcc \
libffi-devel libopenssl-devel \
libffi-devel libopenssl-devel python-pip \
python-virtualenv
# Leap ships with python3.4 which is not supported by ansible and as
# such we are using python2