Method: Warg::HostCollection#run_script

Defined in:
lib/warg.rb

#run_script(script, order: :parallel, &setup) ⇒ Object



1190
1191
1192
1193
1194
# File 'lib/warg.rb', line 1190

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