Merge pull request #743 from ceph/centos-install

ansible-install: allow CentOS
pull/746/head
Leseb 2016-05-01 16:42:54 +02:00
commit bc719e5966
2 changed files with 1 additions and 1 deletions

0
ceph-aio-no-vagrant.sh 100644 → 100755
View File

View File

@ -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