I know there is an older thread on this, but it didn't really provide a solution.
Restart Management Agents with SSHCommand failed...https://communities.vmware.com/thread/436262
Looking for some guidance on creating a workflow to restart esxi host management agents.
I have successfully configured the SSH plugin, and authorized keys on the host. I'm able to use the Run SSH command workflow to pass commands to the host.
However, passing "/sbin/services.sh restart" to the workflow just hangs as indicated in the above referenced thread.
Has anyone successfully created a workflow to restart host managements?
Any help is greatly appreciated!