Install latest Ansible on Ubuntu

Steps to get the latest version of Ansible installed on Ubuntu or any Ubuntu variant. In my case Kubuntu 18.04.1. [email protected]:~$ sudo apt-get update [email protected]:~$ sudo apt-get install software-properties-common [email protected]:~$ sudo apt-add-repository ppa:ansible/ansible [email protected]:~$ sudo apt-get update [email protected]:~$ sudo apt-get install ansible [email protected]:~$ ansible –version ansible 2.6.2 config file = /etc/ansible/ansible.cfg configured module search path…