Ansible as DB/App management tool

Hello All,

I’m quite new to Ansible (just few days playing with it).
And planning to build DB/App management tool on top of anisble.
Tasks: stop/start/backup/patch/…

When I say DB/App it mean Oracle DB and Oracle Apps (like EBS or WebLogic or …).
For now approach is to use playbooks for each task (task itself is just a shell script to stop/start/… DB/App).
Each Environment ( DB+App(s) ) is stored in dedicated inventory file.

Problems/Questions:

  1. How to save and pass-around location of environment file (for examle i need to ‘source’ some file with variables every time i need to do anything with system)?
  2. How to get email notifications if playbook/task takes too much time?
  3. Is it possible to collect data about what and when was started (via ansible) and how much time it took (to save it in CSV file or in DB)?
  4. How to deal with multiple DB/Apps on same user@host (for example ‘user’ on ‘host’ has 2 DBs, how should they be ‘described’ to be sure that ansible will work with correct one)?
  5. Is it possible to save ansible facts in DB (with some history of changes)?

Sorry if every question was asked a 100500 times already, ansible is too new for me to find answers on my own.
Thank you in advance.