Setup Ansible on an Ubuntu VM

Step 1 of 2

Step 1 - Check Ansible Installation

Installing Ansible on an Ubuntu Virtual Machine is pretty simple and straight forward.


On the right you have a terminal open to an Ubuntu virtual machine. First run the ansible version command to check if Ansible is installed on the system already. We expect Ansible to be NOT present at this stage, so you can expect an error message.

ansible --version

Check the version of virtual machine running and take note of the OS flavour.

cat /etc/*release*

Once done, continue over to the next step were we will install Ansible.