Skip to content

nleiva/ansible-cisco-ios-no-templates

Repository files navigation

Retrieving and sending Cisco IOS configs without Jinja2 templates

Repository for the blog post: [TODO].

Run

Provide a config file as an Ansible extra variable with the command line using the --extra-vars (or -e) argument.

1. Parse

Parse a Cisco IOS configuration.

$ ansible-navigator run parse.yml -e config=config.cfg

2. Generate aggregated data

Aggregate data and try to run it through a Resource Module. [Work In Progress]

$ ansible-navigator run generate.yml

Links