diff --git a/lib/ansible/modules/network/nxos/nxos_reboot.py b/lib/ansible/modules/network/nxos/nxos_reboot.py index fbf82f13dd..8f1c2464e8 100644 --- a/lib/ansible/modules/network/nxos/nxos_reboot.py +++ b/lib/ansible/modules/network/nxos/nxos_reboot.py @@ -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)