WEBVTT

1
00:00.000 --> 00:03.200
So friends, here is the validation challenge.

2
00:03.200 --> 00:07.820
The very first thing that I would like you to do is to define a DNS server of 8

3
00:07.820 --> 00:09.360
.8.8.8

4
00:09.360 --> 00:14.240
and the host variable file for the first managed device in your inventory.

5
00:14.240 --> 00:20.100
The next thing I would like you to do is to define two DNS servers of 8.8.8.8

6
00:20.100 --> 00:22.080
and 8.8.4.4

7
00:22.080 --> 00:26.560
and the host variable file for the second managed device in your inventory.

8
00:26.560 --> 00:30.520
Once you have defined these host variables, I want you to write a ginger to
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

8
00:26.560 --> 00:30.520
Once you have defined these host variables, I want you to write a ginger to

9
00:30.520 --> 00:31.280
template called

10
00:31.280 --> 00:36.640
validation.j2 that is going to render the DNS configuration for each device's

11
00:36.640 --> 00:41.060
8.0 resolve.con configuration file. Then I want you to write an Ansible Play

12
00:41.060 --> 00:42.240
book that will target

13
00:42.240 --> 00:46.880
all devices in your inventory that will use the Ansible template module to call

14
00:46.880 --> 00:48.400
the validation.j2

15
00:48.400 --> 00:53.280
file and push the render configurations into each device. However, ensure that

16
00:53.280 --> 00:54.000
the destination

17
00:54.000 --> 00:58.260
file is called "8.8 resolve.con stuff backup". Basically, I don't want you to

18
00:58.260 --> 00:59.360
modify the real

19
00:59.360 --> 01:03.520
DNS configurations on the device. We're going to mock this up. Therefore, the
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

19
00:59.360 --> 01:03.520
DNS configurations on the device. We're going to mock this up. Therefore, the

20
01:03.520 --> 01:04.320
name of the file

21
01:04.320 --> 01:08.480
is going to be with a dot backup extension. Just so that it makes the cleanup

22
01:08.480 --> 01:09.840
much, much easier.

23
01:09.840 --> 01:13.270
So give it a think, boot up your terminal and I will see you in the very next

24
01:13.270 --> 01:14.320
video where we discuss

25
01:14.320 --> 01:18.720
the solution.
