class ForemanAnsibleCore::TaskLauncher::AnsibleRunner

Public Class Methods

runner_class() click to toggle source
# File lib/foreman_ansible_core/task_launcher/ansible_runner.rb, line 16
def self.runner_class
  Runner::AnsibleRunner
end

Public Instance Methods

operation() click to toggle source
# File lib/foreman_ansible_core/task_launcher/ansible_runner.rb, line 12
def operation
  'ansible-runner'
end
runner_input(input) click to toggle source
Calls superclass method
# File lib/foreman_ansible_core/task_launcher/ansible_runner.rb, line 6
def runner_input(input)
  super(input).reduce({}) do |acc, (_id, data)|
    acc.merge(data[:input]['action_input']['name'] => data)
  end
end