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:
bash
sudo apt-get install python-2.7 python-yaml python-paramiko python-jinja2 python-httplib2
Next, download the code:
bash
git clone https://github.com/ansible/ansible.git --recursive
Then we want to install it:
bash
cd ansible && make && sudo make install
Now, Ansible should be installed
bash
which ansible=> /usr/local/bin/ansible