So friends, the very first task I want you to complete is going to be related
to the
creation of users and groups on our managed devices.
So with that said, let me just walk you through what I would like you to
attempt to do.
So the very first thing that I would like you to do is to take the information
provided
in the moviepeople.yml file and I will provide this file for you by the way.
And I want you to generate the respective users and groups on all the managed
nodes.
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
Now here's the thing, users who are denoted as being heroes should actually
receive a
username password of hero pass, whereas users who are denoted as villains
should receive
a password of villain pass.
Now let me just show you the actual content of this particular file right here.
So quite simply, this is the data type that I wanted to work with.
So we have our movie people keep and inside of that we have a list.
So we see we have Batman.
Batman is a hero.
We also have Spiderman also a hero as well as Superman also a hero.
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
Then we can see here we have the Joker who is a villain, Green Goblin villain,
Leif
Luther also a villain.
So basically what I want you to do is I want you to put this information into
an Ansible
Playbook and I want you to effectively create groups and user accounts.
So we have two different groups here.
We can see the heroes group and the villains group.
So we're going to have to create those two groups and then we're going to have
to create
a user account for Batman, Spiderman, Superman, Joker, Green Goblin and Leif
Luther.
Now with respect to the creation of these particular accounts when we create
the Batman
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
account Batman is going to be given the password of hero pass and why is that?
Well that is because Batman is of type hero.
Whereas when we go to create say for example the Joker account or the Leif
Luther account
they should be given the password villain pass because as we can see here they
actually
happen to be a member of the villains group.
You see that?
So below this video I will provide this particular data and a little text file
and effectively
you can just paste that information into your playbook and begin working with
that particular
data.
So I'll just pause the video and then we'll come back and discuss the solution.