mirror of
https://github.com/ansible/awx.git
synced 2026-03-18 09:27:31 -02:30
Ensure that the updated job instance is used
when attaching an EE.
This commit is contained in:
committed by
Shane McDonald
parent
4a0fc3e1af
commit
fde7a1e3e5
@@ -888,7 +888,8 @@ class BaseTask(object):
|
|||||||
|
|
||||||
def build_execution_environment_params(self, instance):
|
def build_execution_environment_params(self, instance):
|
||||||
if instance.execution_environment_id is None:
|
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
|
image = instance.execution_environment.image
|
||||||
params = {
|
params = {
|
||||||
|
|||||||
Reference in New Issue
Block a user