2022-12-16 14:41:26 +00:00
|
|
|
---
|
2023-01-09 18:27:47 +00:00
|
|
|
- name: Audit device prefix lists
|
2022-12-19 10:46:56 +00:00
|
|
|
hosts: targets
|
2022-12-16 14:41:26 +00:00
|
|
|
gather_facts: false
|
|
|
|
|
connection: network_cli
|
|
|
|
|
roles:
|
|
|
|
|
- common
|
|
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
|
2023-01-09 18:27:47 +00:00
|
|
|
- name: Collect current prefix lists
|
2022-12-16 14:41:26 +00:00
|
|
|
cisco.ios.ios_prefix_lists:
|
|
|
|
|
config:
|
|
|
|
|
state: gathered
|
|
|
|
|
register: result
|
|
|
|
|
|
2023-01-09 18:27:47 +00:00
|
|
|
- name: Print current prefix lists information
|
2022-12-16 14:41:26 +00:00
|
|
|
debug:
|
|
|
|
|
var: result.gathered
|