Programster's Blog

Tutorials focusing on Linux, programming, and open source

Ubuntu 16.04 - Install Ansible

Native Package System

This will install ansible version 2.0.0.2.

sudo apt update && sudo apt install ansible -y

Install from PPA

This will install ansible version 2.1.2.0.

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