https://github.com/nleiva/ansible-cisco-ios-no-templates
https://github.com/nleiva/ansible-cisco-ios-no-templates
ansible cisco cisco-ios cisco-ios-xe
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nleiva/ansible-cisco-ios-no-templates
- Owner: nleiva
- License: gpl-3.0
- Created: 2023-07-12T20:04:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T17:31:46.000Z (almost 2 years ago)
- Last Synced: 2024-12-28T12:15:42.331Z (5 months ago)
- Topics: ansible, cisco, cisco-ios, cisco-ios-xe
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
- [ansible.utils.consolidate](https://github.com/ansible-collections/ansible.utils/blob/main/docs/ansible.utils.consolidate_filter.rst#ansibleutilsconsolidate)
- [ios_route_maps doesn't parse full configuration files](https://github.com/ansible-collections/cisco.ios/issues/884)
- [Add support for Network Address Translation (NAT)](https://github.com/ansible-collections/cisco.ios/issues/885)
- [Add parsed and rendered states to ios_vrf](https://github.com/ansible-collections/cisco.ios/issues/886)
- [Add parsed and rendered states to ios_system](https://github.com/ansible-collections/cisco.ios/issues/887)
- [ios_vlans tries to connect to device for parsed](https://github.com/ansible-collections/cisco.ios/issues/888)