An agentless Hyper-V management solution powered by Ansible, designed to streamline virtualization infrastructure on Windows Server and Windows Pro hosts. This collection provides custom modules for managing host storage paths, virtual switches, virtual machines, VHDX disks, and guest network adapters by leveraging idempotent configuration and Infrastructure as Code (IaC) principles across your hypervisor fleet.
- Modular collection design separating host setup, switch creation, VM specs, storage, and networking.
- Idempotent PowerShell modules utilizing native Hyper-V Cmdlets under the hood.
- Custom resource management for configuring Generation 2 VMs, vTPM, Secure Boot, and dynamic VHDX storage.
- Native Ansible Integration supporting standard check mode (
--check) and structured YAML task definitions.
| Module | Description |
|---|---|
khangvum.hyperv.hard_disk |
Attach, detach, or relocate VHD/VHDX virtual hard disks across target storage controllers |
khangvum.hyperv.host_info |
Gather system facts, hardware resources, OS metrics, and hypervisor status |
khangvum.hyperv.host |
Host-level default storage paths and global settings |
khangvum.hyperv.network_adapter |
Configure virtual network adapters, VLAN tagging, static MACs, and bandwidth limits |
khangvum.hyperv.vm_automatic_action |
Manage Automatic Start and Automatic Stop behaviors for guest VMs |
khangvum.hyperv.vm |
VM provisioning, hardware configuration, and deprovisioning |
khangvum.hyperv.vswitch |
Virtual switch management |