Are the server roles a necessary argument when defining a task?  In another
cap configuration I have which is only a deploy.rb file deploying to one
server, all my task definitions look like:

task :name, :except => {:no_release => true} do
   # code
end

I know you can do something like this though:

task :name, :roles => :web do
   # code
end

This other setup I have is using the role() method though.  I'm not really
sure how to add the server(s) to the argument list when using the server()
method.  Is there a difference?


Joe

On Wed, Sep 22, 2010 at 11:40 AM, Lee Hambley <[email protected]> wrote:

> Joe, your task(:name, :server_roles, :options) definitions all appear to be
> missing the server list... ?
>
>  --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected]<capistrano%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/capistrano?hl=en
>

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to