Method: Warg::HostCollection#run_command

Defined in:
lib/warg.rb

#run_command(command, order: :parallel, &setup) ⇒ Object



1196
1197
1198
1199
1200
# File 'lib/warg.rb', line 1196

def run_command(command, order: :parallel, &setup)
  run(order: order) do |host, result|
    result.update host.run_command(command, &setup)
  end
end