No description
Find a file
semantic-release-bot 0c293772c9 chore(release): 1.7.0 [skip ci]
# [1.7.0](https://github.com/de-it-krachten/ansible-role-virtualbox_guest/compare/v1.6.0...v1.7.0) (2026-03-15)

### Features

* Added support for Fedora 43 ([b9ac045](b9ac045f38))
2026-03-15 11:41:57 +00:00
.github/workflows Update supported platforms & CI 2026-03-14 20:08:15 +01:00
defaults Update CI 2022-09-30 00:24:52 +02:00
meta Update CI 2026-03-07 01:09:50 +01:00
molecule/default Update supported platforms & CI 2026-03-14 15:34:46 +01:00
tasks Update supported platforms & CI 2025-08-06 21:48:16 +02:00
vars Improvement on multi platform 2022-06-30 22:06:17 +02:00
.ansible-lint feat: Update CI to latest standards 2022-10-09 23:45:23 +02:00
.ansible-lint-molecule Update CI 2022-09-30 00:24:52 +02:00
.cicd Update CI 2026-03-07 01:09:50 +01:00
.cicd.overwrite Update CI 2026-03-07 01:09:50 +01:00
.collections feat: Add support for Ubuntu 24.04 LTS + Fedora 40 2024-05-31 23:57:34 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 13:52:32 +01:00
.releaserc.yml Update CI 2026-03-07 01:09:50 +01:00
.roles feat: Update CI to latest standards 2022-10-09 23:45:23 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 13:52:32 +01:00
CHANGELOG.md chore(release): 1.7.0 [skip ci] 2026-03-15 11:41:57 +00:00
README.md Update CI 2026-03-07 01:09:50 +01:00

CI

ansible-role-virtualbox_guest

Compiles Virtualbox guest additions from source

Dependencies

Roles

None

Collections

  • ansible.posix

Platforms

Supported platforms

  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Fedora 42
  • Fedora 43

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# List of packages to remove
virtualbox_guest_obsolete_packages:
    - virtualbox-guest-x11
    - virtualbox-guest-additions
    - virtualbox-guest-dkms
    - virtualbox-guest-utils

force_virtbox_guest: False
skip_reboot: False

virtbox_iso: /usr/share/virtualbox/VBoxGuestAdditions.iso

virtbox_method: iso

vars/family-Debian.yml


# List of packages needed for compilation
virtualbox_guest_packages:
  - build-essential
  - dkms
  # - linux-headers-{{ ansible_kernel }}
  - linux-headers-amd64
  - p7zip-full

vars/family-RedHat.yml


# List of packages needed for compilation
virtualbox_guest_packages:
  - gcc
  - kernel-devel
  - kernel-headers
  - dkms
  - make
  - bzip2
  - perl
  - p7zip
  - p7zip-plugins

vars/Fedora.yml


# List of packages needed for compilation
virtualbox_guest_packages:
  - gcc
  - kernel-devel
  - kernel-headers
  - dkms
  - make
  - bzip2
  - perl
  - libxcrypt-compat
  - p7zip
  - p7zip-plugins

vars/Ubuntu.yml


# List of packages needed for compilation
virtualbox_guest_packages:
  - build-essential
  - dkms
  # - linux-headers-{{ ansible_kernel }}
  - linux-headers-generic
  - p7zip-full

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'virtualbox_guest'
  hosts: all
  become: 'yes'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    gnome_desktop_wayland: false
    gnome_desktop_autologin_enable: true
    gnome_desktop_autologin: vagrant
    gnome_desktop_lock_disable: true
    gnome_desktop_lock_timeout: 0
  roles:
    - deitkrachten.gnome_desktop
  tasks:
    - name: Include role 'virtualbox_guest'
      ansible.builtin.include_role:
        name: virtualbox_guest