enabled check mode on nxos bgp modules (#57360)
* enabled check mode on nxos bgp modules * fixed indentation * spaces instead of tabs
This commit is contained in:
committed by
Trishna Guha
parent
82dedec011
commit
79ab8cb48d
@ -649,7 +649,8 @@ def main():
|
||||
|
||||
if candidate:
|
||||
candidate = candidate.items_text()
|
||||
load_config(module, candidate)
|
||||
if not module.check_mode:
|
||||
load_config(module, candidate)
|
||||
result['changed'] = True
|
||||
result['commands'] = candidate
|
||||
else:
|
||||
|
||||
@ -762,7 +762,8 @@ def main():
|
||||
|
||||
if candidate:
|
||||
candidate = candidate.items_text()
|
||||
load_config(module, candidate)
|
||||
if not module.check_mode:
|
||||
load_config(module, candidate)
|
||||
result['changed'] = True
|
||||
result['commands'] = candidate
|
||||
else:
|
||||
|
||||
@ -471,7 +471,8 @@ def main():
|
||||
|
||||
if candidate:
|
||||
candidate = candidate.items_text()
|
||||
load_config(module, candidate)
|
||||
if not module.check_mode:
|
||||
load_config(module, candidate)
|
||||
result['changed'] = True
|
||||
result['commands'] = candidate
|
||||
else:
|
||||
|
||||
@ -677,7 +677,8 @@ def main():
|
||||
|
||||
if candidate:
|
||||
candidate = candidate.items_text()
|
||||
load_config(module, candidate)
|
||||
if not module.check_mode:
|
||||
load_config(module, candidate)
|
||||
result['changed'] = True
|
||||
result['commands'] = candidate
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user