Difficulty: beginner
Estimated Time: 2 minutes

Welcome to your first Ansible Scenario!

In this scenario, you will familiarise with the Ansible Enviroment that you will be using for rest of the course.

You've completed your first Ansible scenario!

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

Introduction to YAML - 1

Step 1 - Know YAML Syntax

In this scenario you will understand on how to create a YAML file using YAML syntax.

Task

Edit the food.yml file under /etc/ansible and add update the food.yml file to add a Vegetable - Carrot entry. Refer to the examples below:

Fruit: Apple

Drink: Water

Dessert: Cake

Execute the command provided below by either typing it on the terminal or by clicking on the command itself.

vim /etc/ansible/food.yml

ansible --version