Looking to translate this to a playbook :
8. In your SSH Client (Putty), Log into the server using your an account
9. Become the LDAP User
sudo -u dbuser -i (this prompts for the remote_user's credentails
10. run an command
echo "logged in as dbuser"
11. Perform an On-Line backup of the DB service
telnet localhost 4111
Welcome to the DB Console
tsa> dump db;
Starting dump
12. cd /app/TSA/data/backups (as dbuser)
Appreciate any help and thanks in advance.