ansible ubuntu install package code example
Example 1: install ansible on ubuntu 18.04
$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible
Example 2: install ansible on linux
$sudo pip3 install ansible