On Tue, Mar 3, 2020, at 2:06 PM, Suresh R wrote:
> In my environment we needed to execute the command " sudo su - " to 
> become a root.
> 
> I did tried something with the become method but nothing got worked.
> 
> Do we have working setup for this scenario ?
> 

Tell your security folks to give you a saner config. There are ways to hack 
around it, but they are hacks.

You could write a become plugin for it, but I wouldn't.

V/r,
James Cassell

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/30d10823-80ec-4df6-aad7-eab87bc00793%40www.fastmail.com.

Reply via email to