Ansible sets up DB servers correctly

Some modifications to the provisioning scripts so that the DB server runs correctly off port 5432 on Amazon's internal network.
Wouldn't be possible to use the psql '-c command' flag here, instead of pipes?