Ubuntu 16.04 - Install Ansible
Use either of the sections below to install ansible on your server. This is the server that should act as the "controller" of other servers. You do not need to install ansible on the "slaves" that get controlled.
Native Package System
This will install ansible version 22.214.171.124.
sudo apt update && sudo apt install ansible -y
Install from PPA
This will install ansible version 126.96.36.199
sudo apt-get install software-properties-common python-software-properties -y sudo add-apt-repository ppa:ansible/ansible -y sudo apt-get update && sudo apt-get install ansible -y
First published: 16th August 2018