module MiqAeMethodService
  class MiqAeServiceManageIQ_Providers_AnsibleTower_ConfigurationManager_Job < MiqAeServiceOrchestrationStack
    expose :job_template, :association => true
    expose :refresh_ems

    def self.create_job(template, args = {})
      template_object = ConfigurationScript.find_by(:id => template.id)
      klass = ManageIQ::Providers::AnsibleTower::ConfigurationManager::Job
      wrap_results(klass.create_job(template_object, args))
    end
  end
end

Introduce AnsibleTower's Job subclassed from OrchestrationStack
Introduce AnsibleTower's Job subclassed from OrchestrationStack


(transferred from ManageIQ/manageiq@2cfe41f01bb6120f4f6f8c50a0e3a4762c415ec5)
