The built-in deployment recipes do not support that (and Capistrano, in general, does not support that syntax, though you could work around that.) If what you want is a different deployment directory per role, you'll need to write your own cap recipes, I'm afraid.

- Jamis

On Oct 17, 2007, at 6:28 PM, Bill Atkins wrote:


Hi,

I've seen examples of Capistrano tasks that perform different actions
based on the current role, but what I want to do is use the current
role to set variable values regardless of the task the user is
running.

I'd like to do something like:

set :deploy_to, "/Users/batkins/test", :roles => :local
set :deploy_to, "/var/www/project", :roles => :web

Does Capistrano support this?

Thanks,
Bill


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to