psycopg2 is required for the creation of the database.  Include the ssh task.