diff --git a/awx/main/models/inventory.py b/awx/main/models/inventory.py index 392c011a16..51efab2690 100644 --- a/awx/main/models/inventory.py +++ b/awx/main/models/inventory.py @@ -1259,7 +1259,7 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions): if not super(InventoryUpdate, self).can_start: return False - if (self.source != 'custom' and + if (self.source not in ('custom', 'ec2') and not (self.credential and self.credential.active)): return False return True