On 26.03.2018 12:10, Martin Simovic wrote:
However, this is happening when I use command module with args:
executable=/bin/bash too. This kind of rules the dash theory out.
It is almost like /etc/profile is ignored in any case.
bash working the same as dash in this aspect.
Still, on Centos/Sles it is sourced regardless of /bin/sh or /bin/bash
use
(I know that /bin/sh is symlink to /bin/bash on those distributions)
bash has a posix mode is uses when bash is started with name sh, this
mode behave differently.
It's documented in the man pages.
--
Kai Stian Olstad
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9955ddb2fb4d831a8aafcb223115f933%40olstad.com.
For more options, visit https://groups.google.com/d/optout.