From: Sébastien Han Date: Sat, 7 May 2016 00:14:46 +0000 (+0200) Subject: install: remove epel X-Git-Tag: v1.0.6~138^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F762%2Fhead;p=ceph-ansible.git install: remove epel We just add epel to conviently install Ansible. However we don't keep it as it could disrupt ceph's installation and dependancies. Signed-off-by: Sébastien Han --- diff --git a/install-ansible.sh b/install-ansible.sh index b3127d7b8..5e24c2f1a 100755 --- a/install-ansible.sh +++ b/install-ansible.sh @@ -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"