Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing Ansible from 'git source' -- by tagged-release
## better, working "shell-recipe" for installing a tagged
## Ansible release, from Git source
sudo aptitude install python-yaml python-jinja2 python-paramiko
cd ~/git/Python
git clone git:// --recursive
cd ansible
git submodule update --init
git checkout tags/${tag_name} -b ${tag_name}
git submodule update --init ## just in case?
sudo script -c "make install" install.log
sudo rsync -av examples/hosts examples/ansible.cfg /etc/ansible/
sudo chown -R root.root /etc/ansible/
cd /usr/local/bin
sudo ln -s $ans/bin/* . # put all Ansible binary-symlinks here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.