Clean up of prefix list scripts
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: Audit device prefix lists
|
||||
hosts: targets
|
||||
gather_facts: false
|
||||
connection: network_cli
|
||||
roles:
|
||||
- common
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Collect current prefix lists
|
||||
cisco.ios.ios_prefix_lists:
|
||||
config:
|
||||
state: gathered
|
||||
register: result
|
||||
|
||||
- name: Print current prefix lists information
|
||||
debug:
|
||||
var: result.gathered
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: Audit device route maps
|
||||
hosts: targets
|
||||
gather_facts: false
|
||||
connection: network_cli
|
||||
roles:
|
||||
- common
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Collect current route maps
|
||||
cisco.ios.ios_route_maps:
|
||||
config:
|
||||
state: gathered
|
||||
register: result
|
||||
|
||||
- name: Print current route maps information
|
||||
debug:
|
||||
var: result.gathered
|
||||
Reference in New Issue
Block a user