I used to create Automation Scripts for my CI tooling. Now I find that using Bitnami Stacks is just easier, and there's no need to worry about fiddling with details. They have really nicely configured and up-to-date releases that are dead easy to deploy.