mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix nxos_reboot command format (#30549)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
e308176f3e
commit
ae044f507f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue