mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 10:11:05 -03:30
Incorrect assumption that we needed to merge extra vars manually... now
passing extra vars to the job template launchc will override what is coming from the job template
This commit is contained in:
@@ -290,8 +290,6 @@ class UnifiedJobTemplate(PolymorphicModel, CommonModelNameNotUnique):
|
||||
unified_job_class = self._get_unified_job_class()
|
||||
parent_field_name = unified_job_class._get_parent_field_name()
|
||||
kwargs.pop('%s_id' % parent_field_name, None)
|
||||
if 'extra_vars' in kwargs:
|
||||
kwargs.pop('extra_vars')
|
||||
create_kwargs = {}
|
||||
create_kwargs[parent_field_name] = self
|
||||
for field_name in self._get_unified_job_field_names():
|
||||
|
||||
Reference in New Issue
Block a user