Installing Ansible from source on Ubuntu

03 Apr 2014 in TIL

Installing Ansible from source is the best way to make sure that you have all the latest features and bug fixes. Fortunately, it's nice and easy to do too.

First, make sure you have any dependencies installed:

sudo apt-get install python-2.7 python-yaml python-paramiko python-jinja2 python-httplib2

Next, download the code:

git clone --recursive

Then we want to install it:

cd ansible && make && sudo make install

Now, Ansible should be installed

which ansible
=> /usr/local/bin/ansible