Merge pull request #762 from ceph/install-script

install: remove epel
pull/763/head
Leseb 2016-05-07 02:16:32 +02:00
commit 4e9b07c3c8
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ elif [[ "Ubuntu" =~ $os_VENDOR ]]; then
elif [[ "RedHatEnterpriseServer" =~ $os_VENDOR || "CentOS" =~ $os_VENDOR || -r /etc/redhat-release ]]; then
rpm -q epel-release-* || rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y ansible
yum remove -y $(rpm -q epel-release-*)
else
if [[ ! -x $(which lsb_release 2>/dev/null) ]]; then
echo "lsb_release is not installed"