mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Ensure that the updated job instance is used
when attaching an EE.
This commit is contained in:
parent
4a0fc3e1af
commit
fde7a1e3e5
@ -888,7 +888,8 @@ class BaseTask(object):
|
||||
|
||||
def build_execution_environment_params(self, instance):
|
||||
if instance.execution_environment_id is None:
|
||||
self.update_model(instance.pk, execution_environment=instance.resolve_execution_environment())
|
||||
self.instance = instance = self.update_model(
|
||||
instance.pk, execution_environment=instance.resolve_execution_environment())
|
||||
|
||||
image = instance.execution_environment.image
|
||||
params = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user