From ae044f507f3bcf508648b1a73a802b657009cd48 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Wed, 20 Sep 2017 10:06:57 +0530 Subject: [PATCH] fix nxos_reboot command format (#30549) Signed-off-by: Trishna Guha --- lib/ansible/modules/network/nxos/nxos_reboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)