From 54ce786b6748e56bb0a01bf0645fec363efced6c Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Thu, 28 Sep 2017 12:03:37 -0500 Subject: [PATCH] Unbutu - ppa install for ansible 2.4 --- scripts/ansible | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/ansible b/scripts/ansible index c8d9012d1..bdced2c0f 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -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"