mirror of https://github.com/ceph/ceph-ansible.git
commit
bc719e5966
|
@ -25,7 +25,7 @@ if [[ -x $(which lsb_release 2>/dev/null) ]]; then
|
||||||
add-apt-repository -y ppa:ansible/ansible
|
add-apt-repository -y ppa:ansible/ansible
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y ansible
|
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
|
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
yum install -y ansible
|
yum install -y ansible
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue