Method: Capistrano::Configuration::Servers#find_servers_for_task
- Defined in:
- lib/capistrano/configuration/servers.rb
#find_servers_for_task(task, options = {}) ⇒ Object
Identifies all servers that the given task should be executed on. The options hash accepts the same arguments as #find_servers, and any preexisting options there will take precedence over the options in the task.
8 9 10 |
# File 'lib/capistrano/configuration/servers.rb', line 8 def find_servers_for_task(task, ={}) find_servers(task..merge()) end |