Hello.
On the target machine in bash profile there are lines which checks if the bash session is interactive, then exit 0;
By that, interactive logins are prohibited (in /etc/profile). But, I can run command by “ssh host command” or run bash by “ssh host bash -i”.
When I try to use ansible against the host, ansible faces this exit 0 and fails.
Is there a simple way for ansible to skip profile reading or use “/bin/bash -i”?
Thanks.
Hi Anton,