search for: rolea

Displaying 1 result from an estimated 1 matches for "rolea".

Did you mean: role
2007 Apr 10
0
Multiple after_deploys in deploy.rb
Hi, I am using Capistrano to do a deploy to servers with different roles. I want call after_deploy in the following manner. task :after_deploy, :roles => [:rolea] do run "task a" end task :after_deploy, :roles => [:roleb] do run "task b" end The problem seems that the second after_deploy clobbers the first even though they are meant for different roles. I do a workaround now by making role a use after_symlink, but now...