From c5bddc3f31db6891f251d72567d6fd1b507f33c2 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Mon, 7 Apr 2025 09:48:48 +0200 Subject: [PATCH] Run VM cleanup tasks only if vm_support is true --- roles/lmn_tmpfixes/tasks/cleanup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lmn_tmpfixes/tasks/cleanup.yml b/roles/lmn_tmpfixes/tasks/cleanup.yml index ccd8318..bc173ea 100644 --- a/roles/lmn_tmpfixes/tasks/cleanup.yml +++ b/roles/lmn_tmpfixes/tasks/cleanup.yml @@ -122,7 +122,7 @@ ls -tr *.qcow2 > vm_usage_information.txt || touchvm_usage_information.txt chown lmnsynci:lmnsynci vm_usage_information.txt chdir: /lmn/vm/ - when: not vm_usage_information.stat.exists + when: vm_support and not vm_usage_information.stat.exists - name: Detect if IPP-Everywhere printers exist ansible.builtin.shell: