mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 16:27:42 -02:30
SCM Inventory model, view, and task system changes
Inventory source file-type combined with a linked project will allow the inventory source to be updated when the project is updated. The inventory update runs in the post-run hook of the project update.
This commit is contained in:
@@ -268,7 +268,7 @@ def migrate_children_from_deleted_group_to_parent_groups(sender, **kwargs):
|
||||
try:
|
||||
inventory = Inventory.objects.get(pk=inventory_pk)
|
||||
inventory.update_computed_fields()
|
||||
except Inventory.DoesNotExist:
|
||||
except (Inventory.DoesNotExist, Project.DoesNotExist):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user