# Bug in apt-get ubuntu package

**URL:** <https://forum.ansible.com/t/bug-in-apt-get-ubuntu-package/21306>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [April 28, 2016, 5:15pm UTC](https://forum.ansible.com/t/bug-in-apt-get-ubuntu-package/21306 "2016-04-28T17:15:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baratali\_Izmailov](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@Baratali\_Izmailov](https://forum.ansible.com/u/Baratali_Izmailov)\
**Post date:** [April 28, 2016, 5:15pm UTC](https://forum.ansible.com/t/bug-in-apt-get-ubuntu-package/21306/1 "2016-04-28T17:15:01Z")

</div>

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](https://github.com/ansible/ansible/issues/15518)

Thanks,  
Baratali.
