I used to create [Automation Scripts](http://docs.ansible.com/ansible/playbooks.html) for my CI tooling. Now I find that using [Bitnami](https://bitnami.com) 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.