Ansible Playbook for Gathering and Verifying Access Lists on Cisco Switches

Hi,
I need assistance with writing an Ansible playbook. The playbook should be able to gather the access lists available on a Cisco switches and then display which access list is applied to each interface or line vty. I have already managed to gather the access lists and save them into a CSV file. However, I am unsure about how to proceed with the second step, which involves checking if an access list is applied to a specific interface or line vty. Could you please assist me in resolving this issue?

Thank you for your assistance.

Hey Alex,
You may check the acl_interfaces and use the gathered state to gather facts related to the acls applied on any interface.

Regards,