One of the best features for Ansible is to automate or execute tasks on the remote clients.
So you will have a control node where you will run the script and execute it against the remote clients.
So this is something that we will be covering later on, and for that purpose we will need to create
Ansible clients where those commands can be executed.
So in this video, what we will do, the first of which we already have done, we identified our home
lab install the virtualization software, we created a virtual machine and install the Linux Santas
operating system.
Perfect.
Up until this point.
Now, the next step is that we will create another virtual machine and we'll call it client two or client
one actually.
And then we will install a Linux operating system on it as well.
We could install any version of Linux, but we will go with Santa seven.
If you have enough resources on your computer, then you could install another virtual machine which
can act as a client or a remote client and we will install a Linux on it as well.
So you will have two clients which you could execute commands on and those will be considered as remote
clients for your Ansible control node.
All right.
So we already have one Linux machine which is right here showing us VM one.
We will be creating a VM two which will we will call client one.
So we'll go to our Oracle VirtualBox and simply click on New.
There is no new, so we'll go here.
Wait a second.
We have to go to tools here and now.
It will show me the options for New OC.
Click Neo and we'll call it Linux Client one.
If you're creating additional client, you'll call it client two.
All right.
So it has the links already selected.
It has the version already selected.
Perfect.
Go ahead to click next.
The memory.
It's always good to give to gig.
If you have less memory to give out and leave it as one gig.
That's fine.
Next, create a virtual machine.
So our virtual disk disk type dynamically allocated and pick a disk 20 gig create.
And it has created your Linux client one.
Go to the setting and go to the network and make sure you change the attached to from Nat to bridge
adapter.
Click.
Okay.
Perfect.
Now we need to install Linux operating system on it.
And as I said, we will be installing center seven on the client.
You could install Santos eight or any version of your choice, but for this course, we will be picking
S.R. seven for the client.
So we'll go to our Firefox and we'll go to download Santos.
Click on Santos dot org.
Leave Santos Linux, which is seven.
Click on x 64 x86 64, pick the first one and then go to the one that has the highest size or biggest
size, which is 9.5 Santos seven x 86 Everything is so click on it and it will start downloading.
Of course, downloading can take time.
So in order to save time, I have already downloaded that on my computer, so I'm going to cancel it
now.
I have already downloaded I'm going to minimize it.
Now, the next thing is I'm going to power it on which I'm going to click on Start.
Okay.
So now since it's started up, it's asking me, where is your ISO image?
Click on this little icon folder.
Add.
And I have downloaded the ISO image right here in a folder ISO and at the seven center, seven is right
here and click open and then click, choose and start.
Of course, as it's going through the installation, I'm going to be fast forward so we could save some
time, pick the first one, which is install Center seven.
All right.
So we have the welcome to us seven leave default or pick the region according to your requirement.
So click continue.
Okay on this screen leave the date and time as default according to your where you located.
Keyboard for me is English language supports the English installation source local media software selection.
Click on that and pick server with gooey click done.
Go to the installation destination.
You already have 20 gigs selected click done.
It will do the automatic partitioning and network hostname.
Click on.
Client Linux Client one and click apply and turn on the Ethernet adapter, which is the networking for
your Linux machine and you already did apply and click done.
That part is done.
Now click on Begin Installation Root Password.
Give a password of your choice.
The stronger that you heard, the better it is.
But if you pick the weak one, then you have to click done twice.
Username for me.
It will be my name.
It will automatically change it to my username and the password.
But done twice.
All right.
So it's starting the installation process.
It has a few packages to go through.
I'm going to fast forward and once the installation is completed, then we will reboot the Linux machine,
the client, and that will create our first Linux client.
Now, of course, if you want to create a second client, go ahead and go to your Oracle VirtualBox
and create Linux client two.
But for this course, I am going to use only one Linux machine as a client.