From 48253e405589052c27c53060f3213a021761a88c Mon Sep 17 00:00:00 2001 From: Vezpi Date: Thu, 20 Aug 2026 19:43:06 +0000 Subject: [PATCH] fix: use correct var name --- ansible/proxmox/cloudinit_template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/proxmox/cloudinit_template.yml b/ansible/proxmox/cloudinit_template.yml index 1c98426..4d53f7c 100644 --- a/ansible/proxmox/cloudinit_template.yml +++ b/ansible/proxmox/cloudinit_template.yml @@ -43,7 +43,7 @@ target_host: >- {{ (ansible_play_hosts | map('extract', hostvars) - | selectattr('has_target_file', 'equalto', true) + | selectattr('has_image_file', 'equalto', true) | sort(attribute='root_free_space', reverse=true) | map(attribute='inventory_hostname') | first)