So friends, here is the validation challenge.
The very first thing that I would like you to do is to define a DNS server of 8
.8.8.8
and the host variable file for the first managed device in your inventory.
The next thing I would like you to do is to define two DNS servers of 8.8.8.8
and 8.8.4.4
and the host variable file for the second managed device in your inventory.
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
Once you have defined these host variables, I want you to write a ginger to
template called
validation.j2 that is going to render the DNS configuration for each device's
8.0 resolve.con configuration file. Then I want you to write an Ansible Play
book that will target
all devices in your inventory that will use the Ansible template module to call
the validation.j2
file and push the render configurations into each device. However, ensure that
the destination
file is called "8.8 resolve.con stuff backup". Basically, I don't want you to
modify the real
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
DNS configurations on the device. We're going to mock this up. Therefore, the
name of the file
is going to be with a dot backup extension. Just so that it makes the cleanup
much, much easier.
So give it a think, boot up your terminal and I will see you in the very next
video where we discuss
the solution.