WEBVTT

1
00:00.000 --> 00:04.480
So, before we actually begin talking about our roles, the very first thing that

2
00:04.480 --> 00:04.840
I'm going

3
00:04.840 --> 00:09.310
to do is a little bit of preparation for the skill and that will involve

4
00:09.310 --> 00:10.200
registering our

5
00:10.200 --> 00:14.330
two managed devices within our inventory so that we have the ability to

6
00:14.330 --> 00:15.480
actually install

7
00:15.480 --> 00:18.320
particular packages on those managed devices.

8
00:18.320 --> 00:20.400
So with that said, let's get to it.

9
00:20.400 --> 00:24.350
So recall at the very beginning of this course we happened to create a red hat

10
00:24.350 --> 00:25.120
account.

11
00:25.120 --> 00:28.680
What I'm going to need you to do is to remember what those credentials happened

12
00:28.680 --> 00:29.400
to be so only

13
00:29.400 --> 00:34.240
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

13
00:29.400 --> 00:34.240
the user name for your red hat account as well as the corresponding password.

14
00:34.240 --> 00:38.990
So as you may recall, I have a managed device in my inventory named Bluebox and

15
00:38.990 --> 00:39.680
the other

16
00:39.680 --> 00:43.280
device in the network is one called Yellowbox.

17
00:43.280 --> 00:48.070
Let's first begin by going to the Bluebox and getting registered with Red tants

18
00:48.070 --> 00:48.120
.

19
00:48.120 --> 00:51.160
So as I have logged in, notice we have the alert at the top.

20
00:51.160 --> 00:55.790
It says system not registered, please register your system to receive software

21
00:55.790 --> 00:56.600
updates.

22
00:56.600 --> 00:58.400
This is exactly what we want to fix.

23
00:58.400 --> 01:02.210
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

23
00:58.400 --> 01:02.210
So all I will do here is I will go to my terminal right now, open this up and

24
01:02.210 --> 01:03.120
let me just fill

25
01:03.120 --> 01:05.520
screen this for the moment and I'll just exit this out.

26
01:05.520 --> 01:09.320
So the very first thing that I want to do is to type in the command sudo

27
01:09.320 --> 01:10.240
subscription

28
01:10.240 --> 01:13.520
manager and then I will just type register.

29
01:13.520 --> 01:17.120
Now I'll type in my super user password for this particular account nugget user

30
01:17.120 --> 01:17.480
which

31
01:17.480 --> 01:21.550
I created at the very beginning of this course that was password one and now

32
01:21.550 --> 01:22.240
what I'm going

33
01:22.240 --> 01:26.370
to have to do is to type in the user name, the login email that I use when I

34
01:26.370 --> 01:27.200
created my

35
01:27.200 --> 01:28.200
Red Hat account.

36
01:28.200 --> 01:31.590
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

36
01:28.200 --> 01:31.590
So in this case here, this is the email that I happened to use and what I'm

37
01:31.590 --> 01:32.160
going to do

38
01:32.160 --> 01:34.240
is to type in the password I used.

39
01:34.240 --> 01:38.510
So I've typed in the password, if I hit enter, give it a moment just to contact

40
01:38.510 --> 01:39.160
Red tants.

41
01:39.160 --> 01:41.960
And as we can see here, it says the system has been registered with a

42
01:41.960 --> 01:42.760
particular ID.

43
01:42.760 --> 01:45.800
Now it actually says here, subscription has expired.

44
01:45.800 --> 01:47.480
I'm going to ignore that for now.

45
01:47.480 --> 01:50.600
And it says the register system name is Bluebox.

46
01:50.600 --> 01:54.240
So again, just give us another few moments to complete the check and as we can

47
01:54.240 --> 01:54.760
see here

48
01:54.760 --> 01:59.500
at this now finish but right now as it stands, we need to do one more thing to

49
01:59.500 --> 02:00.160
ensure the
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

49
01:59.500 --> 02:00.160
ensure the

50
02:00.160 --> 02:02.080
registration is fully operational.

51
02:02.080 --> 02:06.650
So what I will say here is pseudo subscription, hyphen manager and now I will

52
02:06.650 --> 02:07.440
say attach.

53
02:07.440 --> 02:11.840
So if I hit enter and again, just give this a few moments to complete and as we

54
02:11.840 --> 02:12.280
can see

55
02:12.280 --> 02:15.040
here up the top, it does say registration successful.

56
02:15.040 --> 02:19.400
This system has been registered and software updates have now been enabled.

57
02:19.400 --> 02:21.880
And again, it's just doing a short compliance test.

58
02:21.880 --> 02:25.840
And as we can see here, the subscription status is complete.

59
02:25.840 --> 02:30.180
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

59
02:25.840 --> 02:30.180
So if I clear the screen, what I will do here is say pseudo DNF and let me just

60
02:30.180 --> 02:30.960
close this

61
02:30.960 --> 02:32.520
down temporarily.

62
02:32.520 --> 02:36.970
And if I just say repo list and enter as we can see here, I actually have

63
02:36.970 --> 02:37.840
access to these

64
02:37.840 --> 02:41.920
particular repositories, the base OS as well as the app stream repository.

65
02:41.920 --> 02:46.390
Now what I will do here is I will say pseudo DNF update and to enter again,

66
02:46.390 --> 02:47.480
give it a moment

67
02:47.480 --> 02:51.360
to run through and I will just say why and hit enter.

68
02:51.360 --> 02:54.830
So again, this may take a few minutes depending on how fast your system happens

69
02:54.830 --> 02:55.280
to be.

70
02:55.280 --> 02:56.960
Just be patient at well complete.

71
02:56.960 --> 02:57.960
Perfect.

72
02:57.960 --> 03:00.370
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

72
02:57.960 --> 03:00.370
Now with that done, what we're going to do is the same thing over on the other

73
03:00.370 --> 03:01.360
machine.

74
03:01.360 --> 03:03.880
Again, as we can see, the system has not been registered.

75
03:03.880 --> 03:05.480
Let's just close this for now.

76
03:05.480 --> 03:09.380
Open up the terminal and again, as we saw before, pseudo subscription manager,

77
03:09.380 --> 03:10.360
register,

78
03:10.360 --> 03:12.960
type in the sub user password of password one.

79
03:12.960 --> 03:17.050
Now type in the email address you use to register with retats as well as the

80
03:17.050 --> 03:18.040
corresponding

81
03:18.040 --> 03:22.060
password and again, we can see the system has been registered with a particular

82
03:22.060 --> 03:22.600
ID.

83
03:22.600 --> 03:26.480
And in this case here, the register system name is yellow box.

84
03:26.480 --> 03:29.840
So again, we also get this warming about the subscription being inspired.

85
03:29.840 --> 03:31.960
Let's just close this and not worry about it.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

85
03:29.840 --> 03:31.960
Let's just close this and not worry about it.

86
03:31.960 --> 03:34.930
Just give it a moment to finalize and again, the next command will be pseudo

87
03:34.930 --> 03:35.600
subscription

88
03:35.600 --> 03:41.120
manager, attach, hit enter and once again, just give it a moment to complete.

89
03:41.120 --> 03:44.610
And as we can see at the top, the registration has been successful once again,

90
03:44.610 --> 03:45.120
just give

91
03:45.120 --> 03:47.200
it a few moments just to finalize.

92
03:47.200 --> 03:50.860
Now we're updating the profile information and the compliance check has

93
03:50.860 --> 03:51.440
completed.

94
03:51.440 --> 03:53.200
We have now subscribed once again.

95
03:53.200 --> 03:58.020
Let's clear the screen and I'll just run a pseudo DNF update and to enter and

96
03:58.020 --> 03:58.640
to why

97
03:58.640 --> 04:00.400
and to enter, let's get the latest.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

97
03:58.640 --> 04:00.400
and to enter, let's get the latest.

98
04:00.400 --> 04:03.680
Again, this is not absolutely mandatory, but it has a good idea generally.

99
04:03.680 --> 04:06.450
So in the meantime, I will just let this down the complete and I will see you

100
04:06.450 --> 04:07.080
in the very

101
04:07.080 --> 04:09.760
next video where we discuss Ansible roles.
