Become (priv escalation) on localhost fails for file content lookup

11 views
Skip to first unread message

Anthony Cheng

unread,
Jul 26, 2016, 3:15:58 PM7/26/16
to Ansible Project
I think this is a bug (https://github.com/ansible/ansible/issues/16833) where file lookup doesn't get sudo permission on localhost even with become=true.  In my testing, shell command on localhost requiring sudo works fine with become=true.

Brian Coca

unread,
Mar 8, 2017, 2:21:27 PM3/8/17
to Ansible Project
lookups are not affected by become, they always execute in the context
of the user running ansible.


----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages