[ansible-project] remove previously used remote_user (possibly ControlMaster, ControlPersist problem)

2018-02-08 Thread 'Davide' via Ansible Project
Hi all, to setup raspberry pis I would like to use the following palybooks (the actual 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

[ansible-project] Re: remove previously used remote_user (possibly ControlMaster, ControlPersist problem)

2018-02-09 Thread 'Davide' via Ansible Project
I found a related post [1] where it is suggested to just kill all processes before deleting the user [2]. [1]: https://groups.google.com/d/msg/ansible-project/woy_asjA5No/c2I86Gq7AwAJ [2]: https://groups.google.com/d/msg/ansible-project/woy_asjA5No/oLxrV6UZCAAJ -- You received this message

[ansible-project] Re: Deleting a user; still being used

2018-02-09 Thread 'Davide' via Ansible Project
So I am not the only one that has this problem on the raspberry pi ;) [1]. 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