Hi, All. I'm using Capistrano v2.9.0.
I would like to know how the roll was consisted before run a task. Because our Capistrano's recipes dynamically define roles and hosts (likes capistrano-ext module). Here is a example that I expect. the roles are defined static for example. === role :web, "foo", "bar" role :app, "app1", "app2" desc "uptime" task :uptime do run "uptime" end task :confirm do dump_role # befor executing tasks # and will check "are you sure? [y/n] end def dump_role # define the trick to dump current loaded roles # return like this but I do have an good idea to implement. # => [ # :web => [ "foo", "bar"], # :app => [ "app1", "app2" ] # ] end on :start, 'confirm' === Is this an unusual case? Thanks. --Nobuhiro Nikushi -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en