mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
do not split JT callback jobs
This commit is contained in:
parent
47711bc007
commit
dccd7f2e9d
@ -3369,6 +3369,7 @@ class JobTemplateCallback(GenericAPIView):
|
||||
if extra_vars is not None and job_template.ask_variables_on_launch:
|
||||
extra_vars_redacted, removed = extract_ansible_vars(extra_vars)
|
||||
kv['extra_vars'] = extra_vars_redacted
|
||||
kv['_prevent_sharding'] = True # will only run against 1 host, so no point
|
||||
with transaction.atomic():
|
||||
job = job_template.create_job(**kv)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user