Allow inventory updates to run in container groups

This commit is contained in:
Shane McDonald 2021-06-16 13:44:54 -04:00
parent 6c1ba03235
commit 03e73156ea
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -1225,6 +1225,10 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions, JobNotificationMixin,
def is_container_group_task(self):
return bool(self.instance_group and self.instance_group.is_container_group)
@property
def can_run_containerized(self):
return True
def _get_parent_field_name(self):
return 'inventory_source'