Skip to content

Instantly share code, notes, and snippets.

@developerinlondon
Created April 27, 2016 15:04
Show Gist options
  • Save developerinlondon/d5808504bf841d8a400ba57b18967e7b to your computer and use it in GitHub Desktop.
Save developerinlondon/d5808504bf841d8a400ba57b18967e7b to your computer and use it in GitHub Desktop.
steps to install ansible from source
For anyone who finds this and wants to run a version of ansible that is not full of bugs (which are not edge case bugs i might add) here are the steps you should use on ubuntu. This is specific to trusty, but should be usable with other ubuntu versions by replacing the download URL:
# Make sure we are up to date
/usr/bin/apt-get update
# Download working ansible deb package
wget https://launchpad.net/~ansible/+archive/ubuntu/ansible/+build/8129693/+files/ansible_1.9.4-1ppa~trusty_all.deb -O /tmp/ansible.deb
# Manually install deps
apt-get install -y python-support \
python-jinja2 \
python-yaml \
python-paramiko \
python-httplib2 \
python-crypto sshpass
# Install Package
dpkg -i /tmp/ansible.deb
# Remove downloaded package
rm -f /tmp/ansible.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment