Merge "Adding requests to bootstrap ansible"
This commit is contained in:
commit
2f3a4ad15b
@ -47,11 +47,11 @@ ssh_key_create
|
||||
|
||||
# Install the base packages
|
||||
if [[ $HOST_DISTRO =~ ^(Ubuntu|Debian) ]]; then
|
||||
apt-get update && apt-get -y install git python-all python-dev curl python2.7-dev build-essential libssl-dev libffi-dev < /dev/null
|
||||
apt-get update && apt-get -y install git python-all python-dev curl python2.7-dev build-essential libssl-dev libffi-dev python-requests < /dev/null
|
||||
elif [[ $HOST_DISTRO =~ ^(CentOS|Red Hat) ]]; then
|
||||
yum check-update && yum -y install git python2 curl autoconf gcc-c++ python2-devel gcc libffi-devel openssl-devel
|
||||
yum check-update && yum -y install git python2 curl autoconf gcc-c++ python2-devel gcc libffi-devel openssl-devel python-requests
|
||||
elif [[ $HOST_DISTRO =~ ^Fedora ]]; then
|
||||
dnf -y install git python curl autoconf gcc-c++ python-devel gcc libffi-devel openssl-devel
|
||||
dnf -y install git python curl autoconf gcc-c++ python-devel gcc libffi-devel openssl-devel python-requests
|
||||
fi
|
||||
|
||||
# If the working directory exists remove it
|
||||
|
Loading…
Reference in New Issue
Block a user