diff --git a/app/models/manageiq/providers/ansible_playbook_workflow.rb b/app/models/manageiq/providers/ansible_playbook_workflow.rb index 87ffbffd2a9..ed65458d4b4 100644 --- a/app/models/manageiq/providers/ansible_playbook_workflow.rb +++ b/app/models/manageiq/providers/ansible_playbook_workflow.rb @@ -1,4 +1,10 @@ class ManageIQ::Providers::AnsiblePlaybookWorkflow < ManageIQ::Providers::AnsibleRunnerWorkflow + def self.create_job(*args, **kwargs) + role_or_playbook_options = args[2] + args[2] = role_or_playbook_options.merge(:role => "embedded_ansible") + super(*args, **kwargs) + end + def execution_type "playbook" end