From 4808ce4401d17bcc86396c1868585fb9be3d4fa2 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Wed, 30 Oct 2024 23:10:53 +0100 Subject: [PATCH] Fix DISK removal at cleanup --- roles/cleanup/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/cleanup/tasks/main.yml b/roles/cleanup/tasks/main.yml index 6b4a7eb..8a9ea07 100644 --- a/roles/cleanup/tasks/main.yml +++ b/roles/cleanup/tasks/main.yml @@ -20,6 +20,7 @@ - name: Remove CD-ROM from VM in vCenter when: hypervisor == "vmware" delegate_to: localhost + become: false failed_when: false community.vmware.vmware_guest: hostname: "{{ hypervisor_url }}"