Created
April 27, 2021 11:10
-
-
Save NilashishC/3e9806344ca3bd3aead63234bf5e360d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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