Created
June 21, 2021 11:32
-
-
Save rohitthakur2590/9ad74cb8fc1e7558b7d916856bbc4676 to your computer and use it in GitHub Desktop.
Junos BGP address family fact diff
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 BGP address family configuration from the device | |
junipernetworks.junos.junos_bgp_address_family: | |
state: gathered | |
register: result | |
- name: Find out diff between intended and current configuration | |
ansible.utils.fact_diff: | |
before: "{{ bgp_address_family|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