You have to restrict either by ROLES or by HOSTS, but not both. - Jamis
On 9/12/07, matt <[EMAIL PROTECTED]> wrote: > > If I execute something like: > > ROLES=web HOSTS=web01 cap deploy:start > > the start_search task gets executed even though it is tied to > the :search role. This doesn't happen if I don't restrict the scope > using ROLES/HOSTS. Any workarounds known for this? > > The relevant parts of my deploy.rb are: > > role :web, "web01", "web02" > role :search, "search" > namespace :myns do > before "deploy:start", "myns:start_search" > > task :start_search, :roles => :search do > end > end > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
