WEBVTT

1
00:00.000 --> 00:04.460
So friends, the very first task I want you to complete is going to be related

2
00:04.460 --> 00:04.600
to the

3
00:04.600 --> 00:08.040
creation of users and groups on our managed devices.

4
00:08.040 --> 00:10.780
So with that said, let me just walk you through what I would like you to

5
00:10.780 --> 00:12.040
attempt to do.

6
00:12.040 --> 00:15.320
So the very first thing that I would like you to do is to take the information

7
00:15.320 --> 00:15.880
provided

8
00:15.880 --> 00:20.360
in the moviepeople.yml file and I will provide this file for you by the way.

9
00:20.360 --> 00:25.060
And I want you to generate the respective users and groups on all the managed

10
00:25.060 --> 00:25.760
nodes.

11
00:25.760 --> 00:30.520
Now here's the thing, users who are denoted as being heroes should actually
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:25.760 --> 00:30.520
Now here's the thing, users who are denoted as being heroes should actually

12
00:30.520 --> 00:31.000
receive a

13
00:31.000 --> 00:36.910
username password of hero pass, whereas users who are denoted as villains

14
00:36.910 --> 00:37.360
should receive

15
00:37.360 --> 00:39.120
a password of villain pass.

16
00:39.120 --> 00:43.760
Now let me just show you the actual content of this particular file right here.

17
00:43.760 --> 00:46.720
So quite simply, this is the data type that I wanted to work with.

18
00:46.720 --> 00:50.880
So we have our movie people keep and inside of that we have a list.

19
00:50.880 --> 00:52.240
So we see we have Batman.

20
00:52.240 --> 00:53.480
Batman is a hero.

21
00:53.480 --> 00:58.520
We also have Spiderman also a hero as well as Superman also a hero.

22
00:58.520 --> 01:02.500
Then we can see here we have the Joker who is a villain, Green Goblin villain,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

22
00:58.520 --> 01:02.500
Then we can see here we have the Joker who is a villain, Green Goblin villain,

23
01:02.500 --> 01:02.840
Leif

24
01:02.840 --> 01:04.280
Luther also a villain.

25
01:04.280 --> 01:07.970
So basically what I want you to do is I want you to put this information into

26
01:07.970 --> 01:08.600
an Ansible

27
01:08.600 --> 01:12.280
Playbook and I want you to effectively create groups and user accounts.

28
01:12.280 --> 01:13.600
So we have two different groups here.

29
01:13.600 --> 01:15.400
We can see the heroes group and the villains group.

30
01:15.400 --> 01:17.920
So we're going to have to create those two groups and then we're going to have

31
01:17.920 --> 01:18.320
to create

32
01:18.320 --> 01:22.900
a user account for Batman, Spiderman, Superman, Joker, Green Goblin and Leif

33
01:22.900 --> 01:23.400
Luther.

34
01:23.400 --> 01:26.660
Now with respect to the creation of these particular accounts when we create

35
01:26.660 --> 01:27.200
the Batman

36
01:27.200 --> 01:31.280
account Batman is going to be given the password of hero pass and why is that?
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

36
01:27.200 --> 01:31.280
account Batman is going to be given the password of hero pass and why is that?

37
01:31.280 --> 01:33.920
Well that is because Batman is of type hero.

38
01:33.920 --> 01:37.610
Whereas when we go to create say for example the Joker account or the Leif

39
01:37.610 --> 01:38.440
Luther account

40
01:38.440 --> 01:41.980
they should be given the password villain pass because as we can see here they

41
01:41.980 --> 01:42.440
actually

42
01:42.440 --> 01:45.040
happen to be a member of the villains group.

43
01:45.040 --> 01:46.040
You see that?

44
01:46.040 --> 01:48.960
So below this video I will provide this particular data and a little text file

45
01:48.960 --> 01:49.640
and effectively

46
01:49.640 --> 01:53.080
you can just paste that information into your playbook and begin working with

47
01:53.080 --> 01:53.800
that particular

48
01:53.800 --> 01:54.800
data.

49
01:54.800 --> 01:57.520
So I'll just pause the video and then we'll come back and discuss the solution.
