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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to