From 67f387878315127673f132b47568618528f50e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Sun, 1 May 2016 16:42:12 +0200 Subject: [PATCH] ansible-install: allow CentOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Han --- ceph-aio-no-vagrant.sh | 0 install-ansible.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 ceph-aio-no-vagrant.sh 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