1
0
Fork 0
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:
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)