Hello.
I faced a bug when ansible-playbook incorrectly process “sudo_flags = -i” property and, therefore, sudo doesn’t load “.profile” file with all my env variables needed for deploying.
I installed ansible on my ubuntu using “apt-get” command.
However, if I install ansible using “python-pip”, that property is processed fine and “.profile” file is loaded while deploying.
So, I guess, the problem is in ubuntu package, maybe it doesn’t create required config or …
Who is responsible for generating ansible ubuntu package? Is it ansible-project or someone else?
P.S. I already filed an issue to github, but it was closed and I didn’t get answers to my questions
https://github.com/ansible/ansible/issues/15518
Thanks,
Baratali.