Installation
Ansible can be installed from their direct repository, using pip or directy from many linux distribution package stores.
More info can be seen here
To install in ubuntu:
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install ansible