to setup raspberry pis I would like to use the following palybooks (the
yaml is at the end).
1. with remote_user=defaultuser, become and add newuser
2. with remote_user=newuser, become and delete defaultuser
If I play this with some docker container as target it works but if
I found a related post  where it is suggested to just kill all processes
before deleting the user .
You received this message
So I am not the only one that has this problem on the raspberry pi ;) .
I am still confused on why I have this problem only on the raspberry pi but
killing the process works great. Thanks!
I still would prefer to set ControlMaster=no just for the one playbook that
uses the default user. But