Skip to content

Commit e23535c

Browse files
mnietojiclaude
andcommitted
[kustomize_deploy] Make metal3 node fact cacheable
Enable caching for cifmw_kustomize_deploy_metal3_node fact to persist the node selection across playbook runs. Signed-off-by: Miguel Angel Nieto Jimenez <mnietoji@redhat.com> Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent bf2d410 commit e23535c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

roles/kustomize_deploy/tasks/execute_step.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
- name: Set metal3 node for provisionserver nodeSelector
144144
ansible.builtin.set_fact:
145145
cifmw_kustomize_deploy_metal3_node: "{{ _cifmw_kustomize_deploy_metal3_pod_info.resources[0].spec.nodeName }}"
146-
cacheable: false
146+
cacheable: true
147147
when:
148148
- _cifmw_kustomize_deploy_metal3_pod_info.resources is defined
149149
- _cifmw_kustomize_deploy_metal3_pod_info.resources | length > 0

0 commit comments

Comments
 (0)