mirror of
https://github.com/de-it-krachten/ansible-role-kvm
synced 2026-05-14 11:51:43 +00:00
No description
- Jinja 100%
# [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 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| handlers | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
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