How to install Ansible on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org

The objective is to install Ansible on Ubuntu 18.04 Bionic Beaver Linux. This guide will provide you with instructions on how to install Ansible on Ubuntu 18.04 from a standard Ubuntu repository, PPA repository and also how to install latest Ansible version by compiling the source code.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-install-ansible-on-ubuntu-18-04-bionic-beaver-linux