1 00:00:07,150 --> 00:00:09,380 - Hi, this is Lesson Five. 2 00:00:09,380 --> 00:00:12,420 In this lesson, you'll learn about using variables. 3 00:00:12,420 --> 00:00:14,860 I will start by explaining why it is important 4 00:00:14,860 --> 00:00:18,410 to separate code from site specific configuration. 5 00:00:18,410 --> 00:00:19,250 And next, you will learn 6 00:00:19,250 --> 00:00:21,250 about the different ways to use variables 7 00:00:21,250 --> 00:00:23,790 in playbooks as well as the different locations 8 00:00:23,790 --> 00:00:25,463 where variables can be defined. 9 00:00:26,350 --> 00:00:28,570 Once you know how to work with variables, 10 00:00:28,570 --> 00:00:31,500 we'll investigate facts which are discovered variables 11 00:00:31,500 --> 00:00:33,650 that contain information about different parts 12 00:00:33,650 --> 00:00:35,170 of your system. 13 00:00:35,170 --> 00:00:36,930 You'll next learn about the different ways 14 00:00:36,930 --> 00:00:39,020 how variables can be written. 15 00:00:39,020 --> 00:00:42,190 Next, I will give you an overview of magic variables. 16 00:00:42,190 --> 00:00:44,780 The system variables that exist as a default, 17 00:00:44,780 --> 00:00:46,350 and you' learn about the register, 18 00:00:46,350 --> 00:00:48,120 an awesome way to write the result 19 00:00:48,120 --> 00:00:51,310 of a command or model into a variable. 20 00:00:51,310 --> 00:00:53,780 In the last video, before the end of Lesson Lab, 21 00:00:53,780 --> 00:00:55,910 you'll learn how to encrypt variables containing 22 00:00:55,910 --> 00:00:58,623 sensitive information using Ansible Vault.