So, before we actually begin talking about our roles, the very first thing that
I'm going
to do is a little bit of preparation for the skill and that will involve
registering our
two managed devices within our inventory so that we have the ability to
actually install
particular packages on those managed devices.
So with that said, let's get to it.
So recall at the very beginning of this course we happened to create a red hat
account.
What I'm going to need you to do is to remember what those credentials happened
to be so only
the user name for your red hat account as well as the corresponding password. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
the user name for your red hat account as well as the corresponding password.
So as you may recall, I have a managed device in my inventory named Bluebox and
the other
device in the network is one called Yellowbox.
Let's first begin by going to the Bluebox and getting registered with Red tants
.
So as I have logged in, notice we have the alert at the top.
It says system not registered, please register your system to receive software
updates.
This is exactly what we want to fix.
So all I will do here is I will go to my terminal right now, open this up and WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So all I will do here is I will go to my terminal right now, open this up and
let me just fill
screen this for the moment and I'll just exit this out.
So the very first thing that I want to do is to type in the command sudo
subscription
manager and then I will just type register.
Now I'll type in my super user password for this particular account nugget user
which
I created at the very beginning of this course that was password one and now
what I'm going
to have to do is to type in the user name, the login email that I use when I
created my
Red Hat account.
So in this case here, this is the email that I happened to use and what I'm WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So in this case here, this is the email that I happened to use and what I'm
going to do
is to type in the password I used.
So I've typed in the password, if I hit enter, give it a moment just to contact
Red tants.
And as we can see here, it says the system has been registered with a
particular ID.
Now it actually says here, subscription has expired.
I'm going to ignore that for now.
And it says the register system name is Bluebox.
So again, just give us another few moments to complete the check and as we can
see here
at this now finish but right now as it stands, we need to do one more thing to
ensure the WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
ensure the
registration is fully operational.
So what I will say here is pseudo subscription, hyphen manager and now I will
say attach.
So if I hit enter and again, just give this a few moments to complete and as we
can see
here up the top, it does say registration successful.
This system has been registered and software updates have now been enabled.
And again, it's just doing a short compliance test.
And as we can see here, the subscription status is complete.
So if I clear the screen, what I will do here is say pseudo DNF and let me just WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So if I clear the screen, what I will do here is say pseudo DNF and let me just
close this
down temporarily.
And if I just say repo list and enter as we can see here, I actually have
access to these
particular repositories, the base OS as well as the app stream repository.
Now what I will do here is I will say pseudo DNF update and to enter again,
give it a moment
to run through and I will just say why and hit enter.
So again, this may take a few minutes depending on how fast your system happens
to be.
Just be patient at well complete.
Perfect.
Now with that done, what we're going to do is the same thing over on the other WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Now with that done, what we're going to do is the same thing over on the other
machine.
Again, as we can see, the system has not been registered.
Let's just close this for now.
Open up the terminal and again, as we saw before, pseudo subscription manager,
register,
type in the sub user password of password one.
Now type in the email address you use to register with retats as well as the
corresponding
password and again, we can see the system has been registered with a particular
ID.
And in this case here, the register system name is yellow box.
So again, we also get this warming about the subscription being inspired.
Let's just close this and not worry about it. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
Let's just close this and not worry about it.
Just give it a moment to finalize and again, the next command will be pseudo
subscription
manager, attach, hit enter and once again, just give it a moment to complete.
And as we can see at the top, the registration has been successful once again,
just give
it a few moments just to finalize.
Now we're updating the profile information and the compliance check has
completed.
We have now subscribed once again.
Let's clear the screen and I'll just run a pseudo DNF update and to enter and
to why
and to enter, let's get the latest. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
and to enter, let's get the latest.
Again, this is not absolutely mandatory, but it has a good idea generally.
So in the meantime, I will just let this down the complete and I will see you
in the very
next video where we discuss Ansible roles.