Ansible Ubuntu Installation Update and preinstall required packages sudo apt-get update sudo apt-get install software-properties-common Add Ansible repository and install Ansible sudo apt-add-repository ppa:ansible/ansible sudo apt-get update sudo apt-get install ansible