mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-17 10:25:27 -07:00
nxos_evpn_vni check_mode (#46612)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
f731e68bca
commit
d69700b236
1 changed files with 3 additions and 2 deletions
|
@ -275,6 +275,7 @@ def main():
|
||||||
candidate = CustomNetworkConfig(indent=3)
|
candidate = CustomNetworkConfig(indent=3)
|
||||||
candidate.add(commands, parents=parents)
|
candidate.add(commands, parents=parents)
|
||||||
candidate = candidate.items_text()
|
candidate = candidate.items_text()
|
||||||
|
if not module.check_mode:
|
||||||
load_config(module, candidate)
|
load_config(module, candidate)
|
||||||
results['changed'] = True
|
results['changed'] = True
|
||||||
results['commands'] = candidate
|
results['commands'] = candidate
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue