become user

20 views
Skip to first unread message

Cary Snyder

unread,
Apr 25, 2017, 1:39:06 AM4/25/17
to Ansible Project
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.

Kai Stian Olstad

unread,
Apr 25, 2017, 2:27:44 AM4/25/17
to ansible...@googlegroups.com
https://docs.ansible.com/ansible/become.html#directives

In Ansible >=2.2 you have become_flags.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages