Class: ForemanRemoteExecutionCore::Actions::RunScript

Inherits:
ForemanTasksCore::Runner::Action
  • Object
show all
Defined in:
lib/foreman_remote_execution_core/actions.rb

Instance Method Summary collapse

Instance Method Details

#initiate_runnerObject



6
7
8
9
10
11
12
13
# File 'lib/foreman_remote_execution_core/actions.rb', line 6

def initiate_runner
  additional_options = {
    :step_id => run_step_id,
    :uuid => execution_plan_id,
  }
  ForemanRemoteExecutionCore.runner_class.build(input.merge(additional_options),
    suspended_action: suspended_action)
end

#runner_dispatcherObject



15
16
17
# File 'lib/foreman_remote_execution_core/actions.rb', line 15

def runner_dispatcher
  ForemanRemoteExecutionCore::Dispatcher.instance
end