Hands-On: Information Gathering

Get some hands-on experience with using Ansible playbooks on a simple emulated network.

We'll cover the following

In the previous lessons, we have seen a network that is similar to what we would encounter in real life. However, emulating such a network in a virtual environment is not feasible.

In this lesson, we will gain some hands-on experience working with Ansible using a simplified network. The difference is simply a matter of scaling and device type.

The network has three Linux-based devices connected to it, and we will use Ansible to retrieve facts about these devices.

The devices are connected over the docker network as shown in the illustration below.

Get hands-on with 1400+ tech skills courses.