How to Install Ansible on Ubuntu

Опубликовано: 27 Март 2026
на канале: Roger Perkin | Network Automation Consultant
15,184
106

This How to install ansible on Ubuntu video shows you how to install the IT automation engine that is Ansible onto a Linux host, in this case Ubuntu 16.04 desktop.

Open a terminal and run the command:

sudo apt-get update
Then run the command

sudo apt-get install software-properties-common
Now the package is installed you can install Ansible by entering the following command.

sudo apt-add-repository ppa:ansible/ansible
You will need to press ENTER to accept the PPA addition.

Next run the command

sudo apt-get update
Finally to install Ansible run the command

sudo apt-get install ansible
Ansible is now installed and can be verified with the command

ansible --version
At the time of writing the current Ansible version is 2.2.1.0

For more videos and articles on Networking automation check out my website.

Website:
http://www.rogerperkin.co.uk

Backup Cisco router blog post
http://www.rogerperkin.co.uk/network-...

Twitter:
  / rogernperkin