diff --git a/scripts/ansible b/scripts/ansible index 0870ab101..bd25e8ef5 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -42,8 +42,8 @@ if [[ ! `command -v ansible-playbook` ]]; then elif [ -f /etc/debian_version ] || (grep -qi raspbian /etc/*elease) ; then if ( ! grep -qi ansible /etc/apt/sources.list) && [ ! -f /etc/apt/sources.list.d/ansible ]; then apt -y install dirmngr python-pip python-setuptools python-wheel patch - echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \ - >> /etc/apt/sources.list.d/ansible.list + #echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu xenial main" \ + # >> /etc/apt/sources.list.d/ansible.list echo "deb http://ppa.launchpad.net/ansible/ansible-2.4/ubuntu xenial main" \ >> /etc/apt/sources.list.d/ansible.list apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 @@ -53,7 +53,7 @@ if [[ ! `command -v ansible-playbook` ]]; then # Parens are optional, but greatly clarify :) elif (grep -qi ubuntu /etc/lsb-release) || (grep -qi ubuntu /etc/os-release); then apt -y install python-pip python-setuptools python-wheel patch - apt-add-repository -y ppa:ansible/ansible + #apt-add-repository -y ppa:ansible/ansible apt-add-repository -y ppa:ansible/ansible-2.4 # FOUND="true" # FAMILY="debian"