Class: ForemanAnsibleCore::Actions::RunPlaybook

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

Overview

Action that can be run both on Foreman or Foreman proxy side to execute the playbook run

Instance Method Summary collapse

Instance Method Details

#initiate_runnerObject



10
11
12
13
14
15
16
# File 'lib/foreman_ansible_core/actions.rb', line 10

def initiate_runner
  ForemanAnsibleCore::Runner::Playbook.new(
    input[:inventory],
    input[:playbook],
    input[:options]
  )
end