mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -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:
parent
da658ee524
commit
526e488e78
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user