mirror of https://github.com/ceph/ceph-ansible.git
ansible-install: allow CentOS
Signed-off-by: Sébastien Han <seb@redhat.com>pull/743/head
parent
2cd67c066b
commit
67f3878783
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue