Network automation basics: Facts
Learn about retrieving facts from a Cisco IOS-XE device.
Lab Objective: Demonstration use of Ansible facts on network infrastructure
Ansible facts are information derived from speaking to the remote network elements. Ansible facts are returned in structured data (JSON) that makes it easy manipulate or modify. For example a network engineer could create an audit report very quickly using Ansible facts and templating them into a markdown or HTML file.
This exercise will cover:
-
Building an Ansible Playbook from scratch.
-
Using
ansible-navigator :docfor documentation -
Using the cisco.ios.facts module.
-
Using the debug module.