Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- name: Gather current route-map configuration from the device
cisco.nxos.nxos_route_maps:
state: gathered
register: result
- name: Find out diff between intended and current route-map configuration
ansible.utils.fact_diff:
before: "{{ route_maps|ansible.utils.to_paths }}"
after: "{{ result['gathered']|ansible.utils.to_paths }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment