diff --git a/tasks/main.yml b/tasks/main.yml index d5cdfcf..fb23602 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,6 +29,7 @@ fstype: iso9660 opts: loop state: mounted + fstab: /tmp/tmp.fstab - name: Install VirtualBox Guest Additions command: /mnt/VBoxLinuxAdditions.run --nox11 @@ -37,7 +38,10 @@ mount: path: /mnt src: "{{ vbox_additions_iso_path }}" - state: absent + fstype: iso9660 + opts: loop + state: unmounted + fstab: /tmp/tmp.fstab - name: Remove VBoxGuestAdditions.iso file: