mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +00:00
fix nxos_reboot command format (#30549)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
def reboot(module):
|
||||
cmds = [
|
||||
{'command': 'terminal-dont-ask'},
|
||||
{'command': 'terminal dont-ask', 'output': 'text'},
|
||||
{'command': 'reload', 'output': 'text'}
|
||||
]
|
||||
run_commands(module, cmds)
|
||||
|
||||
Reference in New Issue
Block a user