From ae3a983811d62313378bcb46c8c8e2ee07a91bd6 Mon Sep 17 00:00:00 2001 From: Enrique Vallespi Gil Date: Thu, 11 Dec 2025 12:24:11 +0100 Subject: [PATCH] [edpm_prepare] Fix outside zuul when clause It seems we're checking a task var in the same task when clause which make the task fails as ansible first checks the when before init the vars section. --- roles/edpm_prepare/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/edpm_prepare/tasks/main.yml b/roles/edpm_prepare/tasks/main.yml index 9029dab6f9..6be84a1f2d 100644 --- a/roles/edpm_prepare/tasks/main.yml +++ b/roles/edpm_prepare/tasks/main.yml @@ -18,7 +18,7 @@ when: - zuul is not defined - cifmw_operator_build_output is defined - - cifmw_operator_build_meta_name in operators_build_output.operators + - cifmw_operator_build_meta_name in (cifmw_operator_build_output | default({'operators':{}})).operators tags: - always vars: