First, the sudo and su options continue to work, so you can continue
to run the commands as you did before.

The new 'become' is to have a single way to deal with the expanding
privilege escalation methods (pbrun, pfexec, runas, etc).

Sadly making something more flexible tends to add complexity, a 3rd
parameter in this case 'become_method'. Sudo is set as the default for
this, but you can change this in ansible.cfg to suit your needs.

-- 
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DUsgRZuyZXGkgLm4_g4CL2AbkzfNeOnL6_2x6MV-NwDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to