From 6933828f57b88b8e0c953c6c9fafbaf3592ac6af Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Thu, 19 Sep 2024 12:29:32 -0400 Subject: [PATCH] Merge pull request #36 from nasark/use_common_template_class_in_runner Use common Ansible template parent class in runner (cherry picked from commit 74985d5a8a2ff12da592aaa4f3c7db1daa4abef2) --- .../providers/awx/automation_manager/template_runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manageiq/providers/awx/automation_manager/template_runner.rb b/app/models/manageiq/providers/awx/automation_manager/template_runner.rb index f5addd4..6f9a4de 100644 --- a/app/models/manageiq/providers/awx/automation_manager/template_runner.rb +++ b/app/models/manageiq/providers/awx/automation_manager/template_runner.rb @@ -73,7 +73,7 @@ def set_status(message, status = "ok") end def job_template - @template ||= ManageIQ::Providers::ExternalAutomationManager::ConfigurationScript.find(options[:ansible_template_id]) + @template ||= ManageIQ::Providers::AutomationManager::ConfigurationScript.find(options[:ansible_template_id]) end def wait_on_ansible_job