ansible Installing Ansible on Ubuntu


Example

Ansible maintains a PPA repository that can be used to install the Ansible binaries:

sudo apt-add-repository ppa:ansible/ansible -y
sudo apt-get update && sudo apt-get install ansible -y

To install a specific version, use pip. The PPA may be out of date.