1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Notes from PR #249

This commit is contained in:
Jerry Vonau 2017-09-17 01:41:24 -05:00
parent 6951b317b0
commit e6f8d6d314

View file

@ -36,11 +36,11 @@ if [ -f /etc/olpc-release ]; then
fi
if [ -f /etc/debian_version ]; then
echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources.list
# echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources.list
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
# apt-get update
# apt-get install ansible git python-pip python-setuptools python-wheel patch
apt-get install git bzip2 file findutils gzip hg svn sudo tar which unzip xz zip libselinux-python
apt-get install ansible python-kerberos python-selinux python-winrm python-xmltodict sshpass bzip2 file findutils gzip tar unzip zip python-keyczar python-boto python-dnspython python-pyrax python-sphere
FOUND="yes"
FAMILY="debian"
fi
@ -50,7 +50,7 @@ if [ `grep -qi ubuntu /etc/lsb-release` ] || [ `grep -qi ubuntu /etc/os-release
# apt-add-repository ppa:ansible/ansible
# apt-get update
# apt-get install ansible git python-pip python-setuptools python-wheel patch
apt-get install git bzip2 file findutils gzip hg svn sudo tar which unzip xz zip libselinux-python
apt-get install ansible python-kerberos python-selinux python-winrm python-xmltodict sshpass bzip2 file findutils gzip tar unzip zip python-keyczar python-boto python-dnspython python-pyrax python-sphere
FOUND="yes"
FAMILY="debian"
fi
@ -59,7 +59,7 @@ if [ `grep -qi raspbian /etc/*elease` ]; then
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
# apt-get update
# apt-get install ansible git python-pip python-setuptools python-wheel patch
apt-get install git bzip2 file findutils gzip hg svn sudo tar which unzip xz zip libselinux-python
apt-get install ansible python-kerberos python-selinux python-winrm python-xmltodict sshpass bzip2 file findutils gzip tar unzip zip python-keyczar python-boto python-dnspython python-pyrax python-sphere
FOUND="yes"
FAMILY="debian"
fi
@ -88,8 +88,8 @@ fi
# latest 2.2 is 2.2.3.0 2017-07-07
if [ $FAMILY = "debian" ]; then
echo 'WARN: Trying to install ansible via pip without some dependencies'
echo 'WARN: Not all functionality of ansible may be available'
# echo 'WARN: Trying to install ansible via pip without some dependencies'
# echo 'WARN: Not all functionality of ansible may be available'
pip install ansible==2.3.1 --disable-pip-version-check
fi
mkdir -p /etc/ansible/