mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 19:35:02 -02:30
Allow inventory updates to run in container groups
This commit is contained in:
@@ -1225,6 +1225,10 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions, JobNotificationMixin,
|
|||||||
def is_container_group_task(self):
|
def is_container_group_task(self):
|
||||||
return bool(self.instance_group and self.instance_group.is_container_group)
|
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):
|
def _get_parent_field_name(self):
|
||||||
return 'inventory_source'
|
return 'inventory_source'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user