]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ansible-install: allow CentOS 743/head
authorSébastien Han <seb@redhat.com>
Sun, 1 May 2016 14:42:12 +0000 (16:42 +0200)
committerSébastien Han <seb@redhat.com>
Sun, 1 May 2016 14:42:12 +0000 (16:42 +0200)
Signed-off-by: Sébastien Han <seb@redhat.com>
ceph-aio-no-vagrant.sh [changed mode: 0644->0755]
install-ansible.sh

old mode 100644 (file)
new mode 100755 (executable)
index 876bf285302a7ca8303bc1438042204ec3779ea7..8954b3ac7e64de5e195827d1b8d81ac153fea5ec 100755 (executable)
@@ -25,7 +25,7 @@ if [[ -x $(which lsb_release 2>/dev/null) ]]; then
     add-apt-repository -y ppa:ansible/ansible
     apt-get update
     apt-get install -y ansible
-  elif [[ "RedHatEnterpriseServer" =~ $os_VENDOR ]]; then
+  elif [[ "RedHatEnterpriseServer" =~ $os_VENDOR || "CentOS" =~ $os_VENDOR ]]; then
     rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
     yum install -y ansible
   else