From: Chang-Yi Lee Date: Wed, 10 Jun 2015 06:13:56 +0000 (+0800) Subject: Minor change: Install latest Ansible from official PPA X-Git-Tag: v1.0.0~208^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F277%2Fhead;p=ceph-ansible.git Minor change: Install latest Ansible from official PPA Ansible version must >= 1.6.0 --- 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