Merge pull request #277 from cy-lee/install-lastest-ansible

Minor change: Install latest Ansible from official PPA
pull/280/head
Leseb 2015-06-10 10:30:51 +02:00
commit bd6b8beada
1 changed files with 1 additions and 5 deletions

View File

@ -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