We have 3 playbooks that runs concurrently winrm process on a windows server, I did notice even when I start all of then in the same time, only 1 runs, the others get stuck and wait for the first to finish, then starts.
I did follow all the documentation that I could find and this is my current conf :
The shells calls the correspondent yamls : ansible-playbook /etc/ansible/playbooks/bkp_small.yaml -f 10
The tasks of all of it looks the same like this (diference are the database name and file names) :
task1 : win_shell to the sqlserver to create the bkps
task2 : win_shell to zip the files
task3 : win_shell to copy files to local dir
task4 : win_copy to copy to cloud dir
They are starting simultaneous, but it seems for some reason the task waits some other playbooks task to finish, this is an example of my task1 :
I read the documentation you sent, but I am not sure I understood how it will help here, in my case, I am starting 3 playbooks simultaneous, for some reason 1 playbook waits for the other to finish, I could rewrite all of this to one playbook, that would fix my problem, but I am curious to know why this is happening, it seems to be something related with the winrm and maybe an simple winrm or windows setting fix it…