Thanks Kai for the reply. Unfortunately it does not solve the problem. When 
using /bin/sh which is a link to /bin/dash, or when using /bin/bash, it 
seems that none of the user's profile files is used.
I cannot modify /etc/pam.d/* or /etc/ssh/sshd* because everything works 
just fine when using ssh by itself as the same user I use for ansible.

If it's up to me, this is a bug as I find no reason why it should behave 
like it does when I run ansible as a normal user.


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 post to this group, send email to
To view this discussion on the web visit
For more options, visit

Reply via email to