diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 67fe93fc73..d829fc59a8 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -1852,7 +1852,7 @@ class RunInventoryUpdate(BaseTask): _eager_fields=dict( job_type='run', status='running', - instance_group = job.instance_group, + instance_group = inventory_update.instance_group, celery_task_id=request_id)) # associate the inventory update before calling run() so that a # cancel() call on the inventory update can cancel the project update