Class: Proxy::Ansible::Actions::RunPlaybook

Inherits:
Dynflow::Action::Runner
  • Object
show all
Defined in:
lib/smart_proxy_ansible/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/smart_proxy_ansible/actions.rb', line 10

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