acceptance/lib/pxp-agent/bolt_pxp_module_helper.rb
# Runs a non-blocking task action on targets, and confirms that it was successful.
# Block is executed on the stdout string.
Runs a non-blocking task action on targets, and confirms that it was successful.
Block is executed on the stdout string.
Runs a non - blocking task action on targets and confirms that it was successful . Block is executed on the stdout string .
def run_successful_task(broker, targets, task, files, input: {}, metadata: nil, **kwargs, &block)
  run_task(broker, targets, task, files, input: input, metadata: metadata) do |response_dataset|
    ensure_successful(broker, targets, response_dataset, **kwargs, &block)
  end
end
def run_successful_task ( broker , targets , task , files , input : { } , metadata : nil , ** kwargs , & block ) run_task ( broker , targets , task , files , input : input , metadata : metadata ) do | response_dataset | ensure_successful ( broker , targets , response_dataset , ** kwargs , & block ) end end
Runs a non-blocking task action on targets, and confirms that it was successful.
Runs a non - blocking task action on targets and confirms that it was successful .
broker
<not_specific>
targets
<not_specific>
task
<not_specific>
files
<not_specific>
input
<not_specific>
metadata
<not_specific>
kwargs
<not_specific>
block
<not_specific>