The thing you are missing is you have to restrict the inner commands to the channels server; else cap is going to run your inner commands on all of the tasks servers again.
run "sleep 0.1", :pty => true, :hosts => [channel[:server]] > On Nov 29, 2013, at 3:17 AM, Varun Shankar <[email protected]> wrote: > > run "sleep 0.1", :pty => true -- -- * 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 --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
