Search⌘ K

Hands-On: Documentation in MD

Explore how to gather and document network device information using Ansible playbooks, save device facts in Markdown format, and use Jinja templates to filter relevant data for clear, dynamic network documentation.

We'll cover the following...

Previously, we had some hands-on experience on a simple emulated network and used ansible to display device facts to console and save them to JSON.

In this lesson, we will learn to save facts to MD files and to use templates to filter out the relevant facts to store.

Running a playbook

Let’s take a look at how we can gather information about our devices using Ansible, and store them in an MD file.

In the example below, ...