Did you try using async to run the command? I think you should be able to use async with win_shell module. The other steps you describe sound like they could be done using win_copy module and fetch module to retrieve the test results.
See https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html for information about async features of ansible. Hope this helps, Jon -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/53cc1559-f084-4f66-a990-34169bb06fd4%40googlegroups.com.