Search⌘ K
AI Features

Hands-On: Documentation in CSV and HTML

Explore how to gather network device facts using Ansible and automate the creation of dynamic documentation in CSV and HTML formats. This lesson helps you manage network data efficiently by running and modifying playbooks to target specific devices or groups.

We'll cover the following...

Previously, we had some hands-on experience on a simple emulated network and used Ansible to save facts to MD files and to use templates to filter out the relevant facts to store.

In this lesson, we will learn to save facts, to CSV and HTML files. The template will not only be filtering the relevant facts but will also provide the formatting for the respective files.

Running a playbook

Let’s take a look at how we can gather information ...