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 }}"