Difficulty: beginner
Estimated Time: 2 minutes

Welcome to your first Katacoda Scenario!

In this scenario we will learn how to install Ansible on a Linux System. This could be on your local Linux machine, a virtual machine on your system, or a virtual machine on Cloud.

Don’t stop now! The next scenario will only take about 10 minutes to complete.

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.

Task

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.