How to Install and Configure latest version of Ansible on Ubuntu Linux

Originally published at: https://www.cyberciti.biz/faq/how-to-install-and-configure-latest-version-of-ansible-on-ubuntu-linux/

I am a new Ubuntu Linux user. How do I install Ansible on a Ubuntu Linux 16.04/18.04 LTS or 17.10/18.10 desktop control machine?