Add postgresql to ansible playbook.
Remove redundant attribute.
Remove deprecated attribute.
Install the dependencies as the app user.