In this recipe, we will outline how to execute operational commands on IOS devices and store these outputs to text files for further processing. This allows us to capture any operational commands from IOS devices during pre- or post-validation after we perform any deployment so that we can compare the results.
Retrieving operational data from IOS devices
Getting ready
In order to follow along with this recipe, an Ansible inventory file should be in place and the network should already be set up as per the previous recipes.
How to do it...
- Create a new playbook called...