On Wed, Jan 19, 2022 at 5:53 AM Stefan Hornburg (Racke)
<
ra...@linuxia.de> wrote:
>
> On 19/01/2022 11:34, dulhaver via Ansible Project wrote:
> >
> > can anybody tell me whether the ~/.bashrc of a become_user is being read on TASK execution, so you could rely on aliases, environment variables or PATH to be effective?
> >
>
> As far as know it is not being read. And I doubt that is a good idea if the goal is idempotence.
>
> Regards
> Racke
.bashrc unless the "sudo -i" options are used. Read "man sudo" for