Class: ForemanAnsibleCore::TaskLauncher::AnsibleRunner
- Inherits:
-
ForemanTasksCore::TaskLauncher::AbstractGroup
- Object
- ForemanTasksCore::TaskLauncher::AbstractGroup
- ForemanAnsibleCore::TaskLauncher::AnsibleRunner
- Defined in:
- lib/foreman_ansible_core/task_launcher/ansible_runner.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.runner_class ⇒ Object
16 17 18 |
# File 'lib/foreman_ansible_core/task_launcher/ansible_runner.rb', line 16 def self.runner_class Runner::AnsibleRunner end |
Instance Method Details
#operation ⇒ Object
12 13 14 |
# File 'lib/foreman_ansible_core/task_launcher/ansible_runner.rb', line 12 def operation 'ansible-runner' end |
#runner_input(input) ⇒ Object
6 7 8 9 10 |
# 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 |