April 2020
Intermediate to advanced
482 pages
15h 16m
English
We run this new playbook against all nodes within the core and wan group, and we use the ios_facts module to collect the information from the managed IOS devices. In this recipe, we use the debug module to print out the information that was collected from the ios_facts module. The following is a subset of the information that was discovered:
ok: [core01 -> localhost] => { "Ansible_facts": { "net_all_ipv4_addresses": [ "172.20.1.20",< ---------- Snippet ------------ > "10.1.100.1" ], "net_hostname": "core01", "net_interfaces": { < ---------- Snippet ------------ > "Vlan10": { "bandwidth": 1000000, "description": null, "duplex": null, "ipv4": [ { "address": "10.1.10.1", "subnet": "24" } ], "lineprotocol": "up", "macaddress": ...Read now
Unlock full access