No description
Find a file
semantic-release-bot 2b9fa2993c chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/de-it-krachten/ansible-role-kvm/compare/v1.0.0...v1.1.0) (2026-03-15)

### Features

* Added support for Fedora 43 ([872f4c8](872f4c80f0))
* Drop support for Fedora 41 ([b2bf627](b2bf6277a5))
2026-03-15 11:38:37 +00:00
.github/workflows Update supported platforms & CI 2026-03-14 19:39:47 +01:00
defaults Fix CI 2025-08-09 14:26:27 +02:00
handlers feat: First working release for RedHat & Ubuntu 2025-01-10 02:19:55 +01:00
meta Update CI 2026-03-06 22:45:00 +01:00
molecule/default Update supported platforms & CI 2026-03-14 14:57:41 +01:00
tasks Fix CI 2025-08-09 14:26:27 +02:00
.ansible-lint feat: First working release for RedHat & Ubuntu 2025-01-10 02:19:55 +01:00
.cicd Update CI 2026-03-06 22:45:00 +01:00
.cicd.overwrite Update CI 2026-03-06 22:45:00 +01:00
.collections feat: First working release for RedHat & Ubuntu 2025-01-10 02:19:55 +01:00
.gitignore feat: First working release for RedHat & Ubuntu 2025-01-10 02:19:55 +01:00
.releaserc.yml Update CI 2026-03-06 22:45:00 +01:00
.roles feat: First working release for RedHat & Ubuntu 2025-01-10 02:19:55 +01:00
.yamllint feat: First working release for RedHat & Ubuntu 2025-01-10 02:19:55 +01:00
CHANGELOG.md chore(release): 1.1.0 [skip ci] 2026-03-15 11:38:37 +00:00
README.md Update CI 2026-03-06 22:45:00 +01:00

CI

ansible-role-kvm

Installs KVM with libvirt

Dependencies

Roles

None

Collections

  • community.general

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • 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


# Name of the libvirt daemon
kvm_service: libvirtd

# Allow nested virtulization
kvm_nested: false

# Should be install the full set of KVM features
kvm_full: false

# Should the desktop packages be installed
kvm_desktop: false

# KVM group
kvm_group: kvm

# List of KVM users that should be member of `kvm`
kvm_users: []

defaults/family-Debian.yml


kvm_packages:
  - kmod
  - qemu-kvm
  - libvirt-clients
  - libvirt-daemon-system
  - bridge-utils
  - virtinst

kvm_packages_optional: []
##  - libvirt-devel
#  - virt-top
#  - libguestfs-tools
#  - guestfs-tools

kvm_packages_desktop:
  - virt-manager

defaults/family-RedHat.yml


kvm_packages:
  - bridge-utils
  - libvirt
  - qemu-kvm
  - virt-install

kvm_packages_optional:
  - libvirt-devel
  - virt-top
  - libguestfs-tools
  - guestfs-tools

kvm_packages_desktop:
  - virt-manager

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'kvm'
  hosts: all
  become: 'yes'
  tasks:
    - name: Include role 'kvm'
      ansible.builtin.include_role:
        name: kvm