Programster's Blog

Tutorials focusing on Linux, programming, and open-source

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.

Related Posts

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.4.3.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
Last updated: 20th January 2025
First published: 16th August 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch