mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 09:07:45 -02:30
Remove the logic blocking dependent inventory updates on callbacks
This commit is contained in:
@@ -390,7 +390,6 @@ class TaskManager():
|
|||||||
dependencies.append(latest_project_update)
|
dependencies.append(latest_project_update)
|
||||||
|
|
||||||
# Inventory created 2 seconds behind job
|
# Inventory created 2 seconds behind job
|
||||||
if task.launch_type != 'callback':
|
|
||||||
for inventory_source in [invsrc for invsrc in self.all_inventory_sources if invsrc.inventory == task.inventory]:
|
for inventory_source in [invsrc for invsrc in self.all_inventory_sources if invsrc.inventory == task.inventory]:
|
||||||
if not inventory_source.update_on_launch:
|
if not inventory_source.update_on_launch:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user