AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,100 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.

Popular Topics

About Luca Berton

Luca Berton is an Ansible automation expert, author of "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example" published by Apress, and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.

How to install Ansible in Ubuntu 20.04 - Ansible install — Video Tutorial

How to install Ansible in Ubuntu 20.04 LTS using the universe and PPA repositories.

Watch Video

Watch "How to install Ansible in Ubuntu 20.04 - Ansible install" on YouTube

What You'll Learn

Full Tutorial Content

How to install Ansible in the latest Ubuntu 20.04 LTS. Today we’re going to talk about the easier way to install and maintain Ansible inside ubuntu 20.04 with the distribution tools. I’m Luca Berton and welcome to today’s episode of Ansible Pilot. How to install Ansible in Ubuntu 20.04 Today we’re talking about How to install Ansible in Ubuntu 20.04? We’re going to see the easy way to install and maintain Ansible inside Ubuntu with the distribution tools. We are going to see how to install Ansible in two different ways. The first method to install Ansible is using the universe repository, the default that you get after installation. The main advantage of using the universe repository is that you don’t require any external repository. And the second method to install Ansible is using the PPA repository. Please bear in mind that adding additional repositories have different quality assurance of software. Playbook Are you ready to make your hands dirty? Let’s jump in a quick live Playbook of how to install Ansible in Ubuntu 20.04 LTS with universe and PPA. code Universe ```bash #!/bin/bash sudo apt update sudo apt install ansible ``` code PPA ```bash #!/bin/bash sudo apt update sudo apt install software-properties-common sudo add-apt-repository --yes --update ppa:ansible/ansible sudo apt remove ansible sudo apt install ansible-base ``` [code with ❤️ in GitHub](https://github.com/lucab85/ansible-pilot/tree/master/install%20Ubuntu%2020.04) Conclusion Now you know how to install ansible using universe and PPA repositories in Ubuntu 20.04 LTS. Related Articles - [Ansible apt Module: Install, Remove & Manage Packages on Debian/Ubuntu](/articles/ansible-apt-module-install-remove-manage-packages-debian-ubuntu-guide) - [Can Ansible Install an OS?](/articles/can-ansible-install-an-os) - [Can Ansible Run on Ubuntu? Install & Configure Ansible on Ubuntu (Guide)](/articles/can-ansible-run-on-ubuntu)

About This Tutorial

Read the full written article: How to install Ansible in Ubuntu 20.04 - Ansible install

Topics Covered

Related Video Tutorials