I am trying to have Capistrano run a multistage deploy where each stage has multiple servers.
Take, for example, a the first stage of deployment setup with the following roles.
Staging
Web: "server_a", "server_b"
DB: "server_c"
server_a and server_b both deploy_to "/var/www/appname".
server_c needs to deploy_to "/apps/www/appname".
After deployment, Bundler and migrations need to be run, then a restart file set.
- Is it possible to deploy to different directories for different servers/roles with Capistrano?
- If not, are there any deployment systems out there that can?
- If not, am I stuck deploying by hand?