Hi All,
Here http://docs.ansible.com/ansible/become.html I see a lot of ‘what’s new’ so perhaps this article is helpful for someone who uses privilege escalation already, but makes little sense for someone who never used it with ansible before. Could anyone provide the community with ‘sudo su’, ‘su’ and ‘sudo’ samples, please?
p.s.I’ve read that sudo su cannot be used, but I hope the newest release has it enabled. Otherwise is my understanding correct I should use sudo for each shell module explicitly? E.g. how to set up and start apache if sudo su only available?
Thank you.