|
Re: not aborting on command failure - batching hosts: msg#00153lang.ruby.capistrano.general
Yes, you can do: task :foo, :roles => %w(whatever), :on_error => :continue do run "something that might fail" end The :on_error => :continue bit tells capistrano to continue on to the next task, even if the command fails for any of the servers. As for running commands on N hosts at a time, that's what Capistrano is all about. Just describe the hosts in roles, and then specify those roles in the :roles parameter when defining the task. Or, you can use the :hosts parameter and just give it an array of servers directly. - Jamis On Dec 19, 2007, at 3:14 PM, Joshua Sierles wrote:
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Hi to all: 00153, numberskimb-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx |
|---|---|
| Next by Date: | Interesting Error - No space: 00153, kent.langley-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx |
| Previous by Thread: | not aborting on command failure - batching hostsi: 00153, Joshua Sierles |
| Next by Thread: | Re: not aborting on command failure - batching hosts: 00153, Joshua Sierles |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |