A few issues
- The output indicates you didn't supply the command args for shutdown.exe correctly. If the +1 is meant to say shutdown after 1 second the correct syntax is to use /t 1 - https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown - You need to run the task with async: 60 and poll: 0 so Ansible doesn't fail when trying to get the output back from the remote host. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d2fb473f-78fd-48f4-b72b-d218217d952d%40googlegroups.com.
