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