Skip to content

About

An Ansible collection powered by PowerShell for managing and configuring Hyper-V infrastructure.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

33 Commits

Folders and files

Repository files navigation

khangvum.hyperv Ansible Collection

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.

Release Ansible Collection Ansible Lint & Build Check Security Scan

Features

  • 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.

Modules

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

About

An Ansible collection powered by PowerShell for managing and configuring Hyper-V infrastructure.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages