19 lines
365 B
YAML
Executable File
19 lines
365 B
YAML
Executable File
---
|
|
- 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 |