From: Sébastien Han Date: Sun, 1 May 2016 14:42:12 +0000 (+0200) Subject: ansible-install: allow CentOS X-Git-Tag: v1.0.6~151^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=67f387878315127673f132b47568618528f50e2d;p=ceph-ansible.git ansible-install: allow CentOS Signed-off-by: Sébastien Han --- diff --git a/ceph-aio-no-vagrant.sh b/ceph-aio-no-vagrant.sh old mode 100644 new mode 100755 diff --git a/install-ansible.sh b/install-ansible.sh index 876bf2853..8954b3ac7 100755 --- a/install-ansible.sh +++ b/install-ansible.sh @@ -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