Simple maintenance page that is pulled down by ansible into the public/ directory of rails apps. When a release needs to shut down the app server, the maintenance page is displayed.
See github.com/Fritzinger/CAOCL-ansible for an example of an ansible project that uses this.