class ForemanTasksCore::BatchRunnerAction
Public Instance Methods
initiate_runner()
click to toggle source
# File lib/foreman_tasks_core/batch_runner_action.rb, line 9 def initiate_runner launcher = SmartProxyDynflowCore::TaskLauncherRegistry.fetch(input[:operation]) launcher.runner_class.new(input[:targets], suspended_action: suspended_action) end
plan(launcher, input)
click to toggle source
# File lib/foreman_tasks_core/batch_runner_action.rb, line 5 def plan(launcher, input) plan_self :targets => launcher.runner_input(input), :operation => launcher.operation end