|
83 | 83 | vars_common_msd: |
84 | 84 | changes_detected_fabric: "{{ changes_detected_fabric }}" |
85 | 85 | changes_detected_bgw_anycast_vip: "{{ changes_detected_bgw_anycast_vip }}" |
86 | | - # changes_detected_vrfs: "{{ changes_detected_vrfs }}" |
87 | | - # changes_detected_networks: "{{ changes_detected_networks }}" |
| 86 | + # changes_detected_vrfs and changes_detected_networks must be defaulted back to false |
| 87 | + # because ansible.builtin.set_fact copmletely rewrites vars_common_msd and we need |
| 88 | + # to keep alignment with the initialzed false state in common/main.yml. |
| 89 | + # The proper state will update in create/sub_main_msd.yml as that is where vrfs and networks |
| 90 | + # data is processed as we must process the vrfs and networks data only after multsite data is prepared. |
| 91 | + changes_detected_vrfs: false |
| 92 | + changes_detected_networks: false |
88 | 93 | fabric_config: "{{ fabric_config }}" |
89 | 94 | bgw_anycast_vip: "{{ bgw_anycast_vip }}" |
90 | 95 | # vrf_config: "{{ vrf_config }}" |
|
98 | 103 | - "----------------------------------------------------------------" |
99 | 104 | - "+ Fabric Changes Detected - [ {{ vars_common_msd.changes_detected_fabric }} ]" |
100 | 105 | - "+ BGW Anycast VIP Changes Detected - [ {{ vars_common_msd.changes_detected_bgw_anycast_vip }} ]" |
101 | | - # - "+ VRFs Changes Detected - [ {{ vars_common_msd.changes_detected_vrfs }} ]" |
102 | | - # - "+ Networks Changes Detected - [ {{ vars_common_msd.changes_detected_networks }} ]" |
| 106 | + - "+ VRFs Changes Detected - [ {{ vars_common_msd.changes_detected_vrfs }} ]" |
| 107 | + - "+ VRFs Changes Detected - [ Known Later, Initialized to False for MSD ]" |
| 108 | + - "+ Networks Changes Detected - [ {{ vars_common_msd.changes_detected_networks }} ]" |
| 109 | + - "+ Networks Changes Detected - [ Known Later, Initialized to False for MSD ]" |
103 | 110 | - "+ ----- Run Map -----" |
104 | 111 | - "+ Run Map Diff Run - [ {{ run_map_read_result.diff_run }} ]" |
105 | 112 | - "+ Force Run Flag - [ {{ force_run_all }} ]" |
|
0 commit comments