Hey Gal’s N Guy’s,
Ansible isn’t sourcing .bashrc or .bash_profile when running -m shell. But when I login via ssh, there isn’t any issues. The shell PATH is set correctly in .bashrc and now also in .bash_profile . As usual /bin/sh points to bash .
Is there another option or a configuration to allow for this? This is a vanilla Ansible install on CentOS 7 .