mirror of
https://github.com/ansible/awx.git
synced 2026-09-05 03:18:29 -02:30
Fill in the new execution environment collection module
as well as changes to other ones that need to be able to attach EEs.
This commit is contained in:
committed by
Shane McDonald
parent
c1133b3f6d
commit
6d935f740c
@@ -353,7 +353,7 @@ class UnifiedJobTemplate(PolymorphicModel, CommonModelNameNotUnique, ExecutionEn
|
||||
if self.inventory.organization.default_environment is not None:
|
||||
return self.inventory.organization.default_environment
|
||||
if settings.DEFAULT_EXECUTION_ENVIRONMENT is not None:
|
||||
return settings.DEFAULT_EXECUTION_ENVIRONMENT
|
||||
return settings.DEFAULT_EXECUTION_ENVIRONMENT
|
||||
return ExecutionEnvironment.objects.filter(organization=None, managed_by_tower=True).first()
|
||||
|
||||
def create_unified_job(self, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user