Hello,

I have a use case where ansible has to connect with an automation user, 
which is deployed on all the servers, and the sudo to a service user that 
runs on that particular machine. The service users are all different 
between these machines and are unprivileged users.

So ansible is having a issue with that. I just tried to do a whoami using 
the shell module, for a simple test.
I get back: Shared connection closed.

Setfacl is installed and POSIX acls are available. I tested and as the 
connection user I could add an rw acl for the service user. So ansible 
should be able to do it. 

These users also share a group so I tried setting 
ansible_common_remote_group. It didn't help.
I tried setting allow_world_readable_tmpfiles. That didn't help either.

So I am a bit at a loss here. By all means, it seems this should work, but 
for some reason it doesn't and I'm not sure what to check next.

Best regards,
Adrian

-- 
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/28b63ec0-f54e-4b53-92f7-7280b767e764n%40googlegroups.com.

Reply via email to