become user

Hey all, I have been working at using become user on ansible for awhile now. It isn’t working like I need it to. I need to do the same as running sudo -i which logs me into root. Has anyone ran across this before? As I don’t have the root password, but I do have root password.

https://docs.ansible.com/ansible/become.html#directives

In Ansible >=2.2 you have become_flags.