Remove the logic blocking dependent inventory updates on callbacks

This commit is contained in:
Matthew Jones
2017-09-27 16:00:05 -04:00
parent a886747676
commit 7861cda6fe

View File

@@ -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