Shell script to perform actions on pgsql instance (create db, drop db...). Use pgsql-ops Ansible role.