Skip to content

Documentation

Learn how to define and manage KVM virtual machines with ansible-vms.

Complete guide to defining and managing KVM virtual machines with Ansible and libvirt.

Install dependencies and create your first KVM virtual machine.

List, start, stop, restart, and destroy virtual machines.

Download Linux and Windows base images for VMs.

Bridge networking, DHCP, and static IP configuration for VMs.

Attach, resize, mount, and manage extra data disks.

Create, list, restore, and delete VM snapshots.

Create Linux user accounts with SSH key and passwordless sudo.

Access the VM display console via SPICE or VNC.

Manage the host firewall with nftables on Debian and RedHat family hosts.

Run keyboard-free Hackintosh macOS guests alongside Linux and Windows VMs.

Build macos-sonoma-base.img from scratch with OSX-KVM on Debian 12.