--- - 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