1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #338 from jvonau/2.3.1-patch

Ubuntu - ppa install for ansible 2.4
This commit is contained in:
A Holt 2017-09-28 22:38:39 -04:00 committed by GitHub
commit 149fe0e0c6

View file

@ -80,14 +80,8 @@ if [ `grep -qi raspbian /etc/*elease` ]; then
fi
if [ ! $FOUND = "yes" ]; then
if [ `grep -qi ubuntu /etc/lsb-release` ] || [ `grep -qi ubuntu /etc/os-release` ]; then
echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" >> /etc/apt/sources.list
apt-get -y install dirmngr
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
apt-add-repository -y ppa:ansible/ansible
apt-get -y update
#confirm PPA location
# apt-get install software-properties-common
# apt-add-repository ppa:ansible/ansible
# apt-get update
apt-get -y install ansible git python-pip python-setuptools python-wheel patch
# 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"