I’ve created Ansible’s Ubuntu PPA at https://launchpad.net/~rquillo/+archive/ansible
Might help others who are using Ubuntu distro.
Using Ubuntu Precise as overlord machine, you can install Ansible using the PPA with the commands:
$ sudo add-apt-repository ppa:rquillo/ansible $ sudo apt-get update $ sudo apt-get install ansible -y $ echo localhost > myhosts $ export ANSIBLE_HOSTS=$(pwd)/myhosts $ ansible all -m ping -u ubuntu
There you go! Happy Ansibling Ubuntu users!
If like me you are getting command not found when you try and add the ppa you can do the following:
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
Then try and add the ppa – issues should be resolved.
Good catch. Thank you Jerome.