Hello Experts,I'm trying to reboot one of my n7k using ansible but unable to do it. Tried all the possibilities but no luck. Can any one here please help me out in this matter.- name: Save and Reload the N7k hosts: n7k gather_facts: no tasks: # ...
Finally, Issue got resolved, Hurrey... @bigevilbeard you can use below module to reboot any NXOS device.---- name: Save and Reload the N7k hosts: n7k gather_facts: no tasks: - name: Reload the Nexus Switch nxos_reboot: c...
Hello @bigevilbeard , tried the play you have shared above, but unfortunately getting same error, seems the module doesn't support by NXOS. Below the error msg.fatal: [x,x,x,x]: FAILED! => changed=falseansible_facts:discovered_interpreter_python: /us...
Hi @bigevilbeard Thanks for your quick response. I've tried your play but unfortunately getting similar kind of response.Play : - name: Reload the Nexus Switch
nxos_command:
commands:
- reload
prompt: This command ...