Ah, I read it backwards. I thought you were saying that B and C call A, but it is the other way around. Yes, that should work as you expect.

- Jamis

On Feb 14, 2008, at 8:20 AM, mzorova wrote:


Never mind - this was not working last night, but it is now - must be
lack of sleep and some mistake I made yesterday. (btw, the question
should have had run "echo blah" instead of puts)

On Feb 14, 6:24 am, mzorova <[EMAIL PROTECTED]> wrote:
The role filters are not applied on child tasks - only the :except
and :only seem to be applied - is this a bug or by design?

example:

task :A do
puts "A"
B
C
end

task :B, :roles => :web do
 puts "B"
end

task :C, :roles => :app do
 puts "C"
end

running cap A

puts A B C on ALL servers - it should

A on every server
B on web only
C on app only
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [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