]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Minor change: Install latest Ansible from official PPA 277/head
authorChang-Yi Lee <cy.l@inwinstack.com>
Wed, 10 Jun 2015 06:13:56 +0000 (14:13 +0800)
committerChang-Yi Lee <cy.l@inwinstack.com>
Wed, 10 Jun 2015 06:14:52 +0000 (14:14 +0800)
Ansible version must >= 1.6.0

install-ansible.sh

index 041c0e20c18c902cd14cfa70780e75478f6151b1..1b9fe3755d773dd3cb63d7ec74b7ea53f3b41b40 100644 (file)
@@ -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