mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 22:48:02 -03:30
Fix some bugs with missing elements in the run system job task
This commit is contained in:
parent
6ed9705d91
commit
8b8fb2403c
@ -1138,8 +1138,11 @@ class RunInventoryUpdate(BaseTask):
|
||||
class RunSystemJob(BaseTask):
|
||||
|
||||
name = 'awx.main.tasks.run_system_job'
|
||||
model = 'SystemJob'
|
||||
model = SystemJob
|
||||
|
||||
def build_args(self, system_job, **kwargs):
|
||||
args = ['awx-manage', system_job.job_type]
|
||||
return args
|
||||
|
||||
def build_cwd(self, instance, **kwargs):
|
||||
return settings.BASE_DIR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user