Task Install and Configure PostgreSQL failure

I performed this task and was able to create install and configure PostgreSQL, I verified that the user ‘kodekloud_cap’ and database ‘kodekloud_db2’ exists and has appropriate permissions on database ‘kodekloud_db2’ on DB Server.
Still the task is marked as failed.
I dont have the outputs to paste in here but if you can check from backend and let me know.