mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #277 from cy-lee/install-lastest-ansible
Minor change: Install latest Ansible from official PPApull/280/head
commit
bd6b8beada
|
@ -21,13 +21,9 @@ if [[ -x $(which lsb_release 2>/dev/null) ]]; then
|
|||
make install
|
||||
mkdir /etc/ansible
|
||||
elif [[ "Ubuntu" =~ $os_VENDOR ]]; then
|
||||
if [[ "precise" =~ $os_VERSION ]]; then
|
||||
add-apt-repository ppa:rquillo/ansible
|
||||
add-apt-repository ppa:ansible/ansible
|
||||
apt-get update
|
||||
apt-get install -y ansible
|
||||
else
|
||||
apt-get install -y ansible
|
||||
fi
|
||||
fi
|
||||
elif [[ -r /etc/redhat-release ]]; then
|
||||
yum install -y ansible
|
||||
|
|
Loading…
Reference in New Issue