Network Automation with Ansible – Playbook
Use of Ansible Playbook for fetching information from network devices for troubleshooting purpose
Playbooks for Fetching Output:
We can use playbooks as well to fetch the information from the remote devices. The difference between Ad-hoc commands and playbook is that with Ad-Hoc we can pass a single ios command, where as a playbook can have multiple IOS commands. The playbook will perform all the commands on each device one by one.