WEBVTT 0 00:00.810 --> 00:08.130 Before heading into exercises let me give you a brief idea on how the coding exercises work 1 00:08.220 --> 00:12.400 in this course and this is the same way it works for the rest of the course. 2 00:12.510 --> 00:17.320 So it's good to have an idea on how to work with the coding exercises. 3 00:17.670 --> 00:24.930 So at the end of this video, on clicking the Continue button you will be automatically taken to the coding 4 00:24.930 --> 00:26.470 exercises section. 5 00:26.580 --> 00:31.810 The coding exercises section as you can see consists of three different parts. 6 00:32.070 --> 00:38.790 The area at the top here is where your question is, this is where you have given instructions on your 7 00:38.790 --> 00:40.040 task. 8 00:40.650 --> 00:43.300 On the left side here you can see two different files. 9 00:43.320 --> 00:46.330 You will always see two or more files here. 10 00:46.380 --> 00:49.340 The first and the default file is called exercise.rb 11 00:49.370 --> 00:52.140 This file is never used. 12 00:52.170 --> 00:56.810 So you can see a temporary banner put here. 13 00:56.910 --> 00:58.590 We never actually use this file. 14 00:58.650 --> 01:03.840 If you look at the note here you can see that this file is not used. Do not type in your solution in 15 01:03.840 --> 01:09.660 this file and you must always use the edges in .yml or .txt file. 16 01:09.960 --> 01:12.660 So we will be working with two types of files. 17 01:12.690 --> 01:19.160 One is the .txt file which we will use for ansible inventory files. 18 01:19.170 --> 01:22.860 The other is the .yml file which is what we will be working with 19 01:22.860 --> 01:29.480 most of the time and that is the ansible playbook files. So never write anything into the exercise.rb 20 01:29.500 --> 01:33.270 Switch over to the food.yml file in this case. 21 01:33.360 --> 01:39.930 And if you look at the instructions you can see that the instruction is to Update food.yml file 22 01:40.250 --> 01:42.130 to add a vegitable carrot. 23 01:42.150 --> 01:47.010 So there are currently three types already. 24 01:47.100 --> 01:57.750 So create a new entry here called Vegetable and enter the name of the vegetable in this case carrot. 25 01:57.750 --> 02:03.360 Now if you look at the bottom right corner you will see there are two buttons. 26 02:03.360 --> 02:11.340 Click on the check solution button and it will check for your answer and you must ensure that your answer 27 02:11.400 --> 02:12.390 is right. 28 02:12.390 --> 02:17.570 In this case I got an error because I typed in the spelling for Vegetable wrong. 29 02:17.580 --> 02:19.070 I'm going to correct that. 30 02:19.110 --> 02:24.070 Click on it again and you should see that your solution is correct. 31 02:24.480 --> 02:29.440 So you can then click on the Continue button to go over to the second exercise. 32 02:29.440 --> 02:38.490 So this way you can go over all exercises until they are complete and if you have any questions about 33 02:38.520 --> 02:45.690 any of these exercises or if you find any issues with any of these exercises feel free to 34 02:45.720 --> 02:46.700 reach out to me. 35 02:46.770 --> 02:54.810 Click on the browse Q&A button and then click on the Ask a new question button to ask a new question 36 02:55.200 --> 03:02.730 and I will make sure to reply to it as soon as possible. So go through the exercises let me know what 37 03:02.730 --> 03:03.870 you think. 38 03:03.870 --> 03:05.100 So good luck.