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"