mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Fixing nxos_vrrp (#5035)
This commit is contained in:
parent
f89cb1717c
commit
c19e3b5924
1 changed files with 3 additions and 1 deletions
|
@ -332,7 +332,7 @@ def execute_show(cmds, module, command_type=None):
|
||||||
module.cli.add_commands(cmds, output=command_type)
|
module.cli.add_commands(cmds, output=command_type)
|
||||||
response = module.cli.run_commands()
|
response = module.cli.run_commands()
|
||||||
else:
|
else:
|
||||||
module.cli.add_commands(cmds, output=command_type)
|
module.cli.add_commands(cmds, raw=True)
|
||||||
response = module.cli.run_commands()
|
response = module.cli.run_commands()
|
||||||
except ShellError:
|
except ShellError:
|
||||||
clie = get_exception()
|
clie = get_exception()
|
||||||
|
@ -628,6 +628,8 @@ def main():
|
||||||
execute_config_command(cmds, module)
|
execute_config_command(cmds, module)
|
||||||
changed = True
|
changed = True
|
||||||
end_state = get_existing_vrrp(interface, group, module, name)
|
end_state = get_existing_vrrp(interface, group, module, name)
|
||||||
|
if 'configure' in cmds:
|
||||||
|
cmds.pop(0)
|
||||||
|
|
||||||
results = {}
|
results = {}
|
||||||
results['proposed'] = proposed
|
results['proposed'] = proposed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue