ansible-install: allow CentOS

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/743/head
Sébastien Han 2016-05-01 16:42:12 +02:00
parent 2cd67c066b
commit 67f3878783
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