How to Parse Network Config into Structured Data Using Ansible Resource Modules
Ansible Resource Modules offer various states to manage network configuration sections effectively. For example use parsed to convert configurations into structured data, like so:
---
- name: Ansible Modules - Resource Modules (Parse)
hosts: leaf1
gather_facts: false
tasks:
- name: Parse the provided configuration
cisco.ios.ios_l3_interfaces: