Understanding Ansible Output Structure

Note that this post uses NTC-Ansible. Installation instructions can be found here. In the Ansible –extra-vars post we saw just how out of control outputs can be. The Cleaning Up Ansible Loop Outputs post then demonstrated how we can remove all of the unnecessary information. This post is aimed at answering the question, “How do we navigate through … Continue reading Understanding Ansible Output Structure

Ansible –extra-vars

Note that this post uses NTC-Ansible. Installation instructions can be found here. Often you will see variables defined in a Playbook, a Task and/or a variables file such as group_vars or host_vars, as shown below:

Installation

Section Description Ubuntu Installing Ansible on Ubuntu. Windows Installing Ansible on Windows. NTC-Ansible Installing NTC-Ansible.

Writing your own API, Part 4

Now that we’ve covered how TextFSM work and how it can be used to record useful information from device outputs, it’s time to move our focus on how we use TextFSM templates in Ansible. Using NTC-Ansible’s  ntc_show_command module, we’re able to “get structured data from devices that don’t have an API”. As I’ve touched on in previous posts, it … Continue reading Writing your own API, Part 4