From d0ae20911be8e3345516bba50a6e16a924bc6543 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Fri, 20 Feb 2026 18:41:40 +0100 Subject: [PATCH] fix(cleanup): keep RHEL ISO ide1 attached as local repo --- roles/cleanup/tasks/proxmox.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/roles/cleanup/tasks/proxmox.yml b/roles/cleanup/tasks/proxmox.yml index 8e13500..9694654 100644 --- a/roles/cleanup/tasks/proxmox.yml +++ b/roles/cleanup/tasks/proxmox.yml @@ -13,12 +13,9 @@ vmid: "{{ system_cfg.id }}" disk: "{{ item }}" state: absent - loop: >- - {{ - ['ide0'] - + (['ide1'] if rhel_iso is defined and rhel_iso | length > 0 else []) - + ['ide2'] - }} + loop: + - ide0 + - ide2 failed_when: false no_log: true