fix nxos_reboot command format (#30549)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha
2017-09-20 10:06:57 +05:30
committed by GitHub
parent e308176f3e
commit ae044f507f

View File

@@ -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)