Class: ForemanAnsibleCore::TaskLauncher::Playbook::PlaybookRunnerAction

Inherits:
ForemanTasksCore::Runner::Action
  • Object
show all
Defined in:
lib/foreman_ansible_core/task_launcher/playbook.rb

Instance Method Summary collapse

Instance Method Details

#initiate_runnerObject



5
6
7
8
9
10
11
12
13
14
# File 'lib/foreman_ansible_core/task_launcher/playbook.rb', line 5

def initiate_runner
  additional_options = {
    :step_id => run_step_id,
    :uuid => execution_plan_id
  }
  ::ForemanAnsibleCore::RemoteExecutionCore::AnsibleRunner.new(
    input.merge(additional_options),
    :suspended_action => suspended_action
  )
end