title: How to achieve sudo su - <user> and run all command in ansible
body: <p>I have an ssh access to the box but to run certain commands I need to do sudo su -  and enter the password. Then I can run all the commands under that user.</p>
  
  <p>How can i achieve this ansible. I tried become and sudo nothing worked for me.</p>
  
  <p>Can someone provide me a working example?</p>