1 00:00:01,020 --> 00:00:09,300 One of the best features for Ansible is to automate or execute tasks on the remote clients. 2 00:00:09,510 --> 00:00:15,720 So you will have a control node where you will run the script and execute it against the remote clients. 3 00:00:15,990 --> 00:00:22,140 So this is something that we will be covering later on, and for that purpose we will need to create 4 00:00:22,140 --> 00:00:26,060 Ansible clients where those commands can be executed. 5 00:00:26,070 --> 00:00:32,010 So in this video, what we will do, the first of which we already have done, we identified our home 6 00:00:32,010 --> 00:00:38,310 lab install the virtualization software, we created a virtual machine and install the Linux Santas 7 00:00:38,310 --> 00:00:39,270 operating system. 8 00:00:40,110 --> 00:00:40,740 Perfect. 9 00:00:40,740 --> 00:00:41,990 Up until this point. 10 00:00:42,000 --> 00:00:49,590 Now, the next step is that we will create another virtual machine and we'll call it client two or client 11 00:00:49,590 --> 00:00:50,610 one actually. 12 00:00:50,610 --> 00:00:54,570 And then we will install a Linux operating system on it as well. 13 00:00:55,050 --> 00:00:59,070 We could install any version of Linux, but we will go with Santa seven. 14 00:00:59,880 --> 00:01:06,870 If you have enough resources on your computer, then you could install another virtual machine which 15 00:01:06,870 --> 00:01:12,810 can act as a client or a remote client and we will install a Linux on it as well. 16 00:01:12,810 --> 00:01:19,350 So you will have two clients which you could execute commands on and those will be considered as remote 17 00:01:19,350 --> 00:01:23,040 clients for your Ansible control node. 18 00:01:23,670 --> 00:01:23,970 All right. 19 00:01:23,970 --> 00:01:29,640 So we already have one Linux machine which is right here showing us VM one. 20 00:01:29,850 --> 00:01:33,960 We will be creating a VM two which will we will call client one. 21 00:01:33,960 --> 00:01:43,050 So we'll go to our Oracle VirtualBox and simply click on New. 22 00:01:43,080 --> 00:01:46,140 There is no new, so we'll go here. 23 00:01:47,020 --> 00:01:48,190 Wait a second. 24 00:01:48,880 --> 00:01:52,150 We have to go to tools here and now. 25 00:01:52,150 --> 00:01:54,780 It will show me the options for New OC. 26 00:01:54,910 --> 00:02:01,510 Click Neo and we'll call it Linux Client one. 27 00:02:02,390 --> 00:02:05,750 If you're creating additional client, you'll call it client two. 28 00:02:05,960 --> 00:02:06,320 All right. 29 00:02:06,320 --> 00:02:08,690 So it has the links already selected. 30 00:02:08,690 --> 00:02:10,730 It has the version already selected. 31 00:02:10,980 --> 00:02:11,410 Perfect. 32 00:02:11,420 --> 00:02:12,620 Go ahead to click next. 33 00:02:14,030 --> 00:02:14,690 The memory. 34 00:02:14,690 --> 00:02:16,580 It's always good to give to gig. 35 00:02:16,580 --> 00:02:20,720 If you have less memory to give out and leave it as one gig. 36 00:02:20,930 --> 00:02:21,530 That's fine. 37 00:02:21,560 --> 00:02:23,420 Next, create a virtual machine. 38 00:02:23,420 --> 00:02:31,280 So our virtual disk disk type dynamically allocated and pick a disk 20 gig create. 39 00:02:32,330 --> 00:02:35,180 And it has created your Linux client one. 40 00:02:35,210 --> 00:02:42,410 Go to the setting and go to the network and make sure you change the attached to from Nat to bridge 41 00:02:42,410 --> 00:02:43,130 adapter. 42 00:02:43,460 --> 00:02:43,700 Click. 43 00:02:43,700 --> 00:02:44,330 Okay. 44 00:02:44,900 --> 00:02:45,430 Perfect. 45 00:02:45,440 --> 00:02:48,140 Now we need to install Linux operating system on it. 46 00:02:48,140 --> 00:02:53,030 And as I said, we will be installing center seven on the client. 47 00:02:53,060 --> 00:02:59,750 You could install Santos eight or any version of your choice, but for this course, we will be picking 48 00:02:59,750 --> 00:03:01,880 S.R. seven for the client. 49 00:03:02,090 --> 00:03:07,820 So we'll go to our Firefox and we'll go to download Santos. 50 00:03:08,870 --> 00:03:10,850 Click on Santos dot org. 51 00:03:10,970 --> 00:03:13,040 Leave Santos Linux, which is seven. 52 00:03:13,040 --> 00:03:22,490 Click on x 64 x86 64, pick the first one and then go to the one that has the highest size or biggest 53 00:03:22,490 --> 00:03:30,650 size, which is 9.5 Santos seven x 86 Everything is so click on it and it will start downloading. 54 00:03:30,680 --> 00:03:32,450 Of course, downloading can take time. 55 00:03:32,450 --> 00:03:38,360 So in order to save time, I have already downloaded that on my computer, so I'm going to cancel it 56 00:03:38,720 --> 00:03:39,050 now. 57 00:03:39,050 --> 00:03:41,520 I have already downloaded I'm going to minimize it. 58 00:03:41,540 --> 00:03:46,700 Now, the next thing is I'm going to power it on which I'm going to click on Start. 59 00:03:47,770 --> 00:03:48,220 Okay. 60 00:03:48,220 --> 00:03:53,290 So now since it's started up, it's asking me, where is your ISO image? 61 00:03:53,920 --> 00:03:56,790 Click on this little icon folder. 62 00:03:56,800 --> 00:03:57,940 Add. 63 00:03:58,690 --> 00:04:09,250 And I have downloaded the ISO image right here in a folder ISO and at the seven center, seven is right 64 00:04:09,250 --> 00:04:15,550 here and click open and then click, choose and start. 65 00:04:19,060 --> 00:04:23,140 Of course, as it's going through the installation, I'm going to be fast forward so we could save some 66 00:04:23,140 --> 00:04:27,280 time, pick the first one, which is install Center seven. 67 00:04:32,880 --> 00:04:33,330 All right. 68 00:04:33,330 --> 00:04:40,410 So we have the welcome to us seven leave default or pick the region according to your requirement. 69 00:04:40,410 --> 00:04:41,790 So click continue. 70 00:04:43,680 --> 00:04:50,940 Okay on this screen leave the date and time as default according to your where you located. 71 00:04:51,210 --> 00:04:57,330 Keyboard for me is English language supports the English installation source local media software selection. 72 00:04:57,330 --> 00:05:02,460 Click on that and pick server with gooey click done. 73 00:05:04,030 --> 00:05:06,460 Go to the installation destination. 74 00:05:06,610 --> 00:05:09,670 You already have 20 gigs selected click done. 75 00:05:10,060 --> 00:05:16,360 It will do the automatic partitioning and network hostname. 76 00:05:16,480 --> 00:05:17,890 Click on. 77 00:05:19,720 --> 00:05:29,710 Client Linux Client one and click apply and turn on the Ethernet adapter, which is the networking for 78 00:05:29,710 --> 00:05:35,470 your Linux machine and you already did apply and click done. 79 00:05:36,190 --> 00:05:37,030 That part is done. 80 00:05:37,030 --> 00:05:40,930 Now click on Begin Installation Root Password. 81 00:05:40,930 --> 00:05:43,600 Give a password of your choice. 82 00:05:44,380 --> 00:05:46,570 The stronger that you heard, the better it is. 83 00:05:46,570 --> 00:05:50,350 But if you pick the weak one, then you have to click done twice. 84 00:05:51,230 --> 00:05:53,260 Username for me. 85 00:05:53,260 --> 00:05:54,220 It will be my name. 86 00:05:54,220 --> 00:05:58,330 It will automatically change it to my username and the password. 87 00:06:02,080 --> 00:06:03,300 But done twice. 88 00:06:04,110 --> 00:06:04,410 All right. 89 00:06:04,410 --> 00:06:06,440 So it's starting the installation process. 90 00:06:06,450 --> 00:06:08,580 It has a few packages to go through. 91 00:06:08,820 --> 00:06:16,230 I'm going to fast forward and once the installation is completed, then we will reboot the Linux machine, 92 00:06:16,230 --> 00:06:20,520 the client, and that will create our first Linux client. 93 00:06:20,550 --> 00:06:26,850 Now, of course, if you want to create a second client, go ahead and go to your Oracle VirtualBox 94 00:06:26,850 --> 00:06:29,420 and create Linux client two. 95 00:06:29,430 --> 00:06:35,280 But for this course, I am going to use only one Linux machine as a client.