From 40d665b4808e6bf79d8b1cc83ee57a62c2f1c882 Mon Sep 17 00:00:00 2001 From: Chang-Yi Lee Date: Wed, 10 Jun 2015 14:13:56 +0800 Subject: [PATCH] Minor change: Install latest Ansible from official PPA Ansible version must >= 1.6.0 --- install-ansible.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install-ansible.sh b/install-ansible.sh index 041c0e20c..1b9fe3755 100644 --- a/install-ansible.sh +++ b/install-ansible.sh @@ -21,13 +21,9 @@ if [[ -x $(which lsb_release 2>/dev/null) ]]; then make install mkdir /etc/ansible elif [[ "Ubuntu" =~ $os_VENDOR ]]; then - if [[ "precise" =~ $os_VERSION ]]; then - add-apt-repository ppa:rquillo/ansible + add-apt-repository ppa:ansible/ansible apt-get update apt-get install -y ansible - else - apt-get install -y ansible - fi fi elif [[ -r /etc/redhat-release ]]; then yum install -y ansible