nxos_evpn_vni check_mode (#46612)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit d69700b236
)
This commit is contained in:
parent
ff467a2bdf
commit
3362205f81
1 changed files with 3 additions and 2 deletions
|
@ -275,8 +275,9 @@ def main():
|
|||
candidate = CustomNetworkConfig(indent=3)
|
||||
candidate.add(commands, parents=parents)
|
||||
candidate = candidate.items_text()
|
||||
load_config(module, candidate)
|
||||
results['changed'] = True
|
||||
if not module.check_mode:
|
||||
load_config(module, candidate)
|
||||
results['changed'] = True
|
||||
results['commands'] = candidate
|
||||
else:
|
||||
results['commands'] = []
|
||||
|
|
Loading…
Reference in a new issue