Skip to content

Set of Ansible modules and playbooks to create, modify and operate with HyperV based virtual machines

License

Notifications You must be signed in to change notification settings

xray700r/hyperv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyperv

Ansible Module - xray700r.hyperv

License

xray700r.hyperv

This collection provides a range of modules for managing Hyper-V hosts and VM's etc that run on those hosts.

Note: This is a work in progress and it is actually being developed. Any problems, issues, bugs that are identified are gradually solved during the development and testing.

Ansible Requirements

The collection and playbooks are developed and tested with versions of Ansible core (higher than 2.12).

The library of scripts is based on the support for powershell by ansible core powershell by ansible core

Installation

The collection and related playbooks can be installed by cloning this repo.

Preparation of target HyperV hosts

On target machine run: https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 On ansible controller machine run: pip install pywinrm

Platforms

The collection has been tested with the Hyper-V role based VMs on:

Windows Server:
  - 2016
  - 2019
  - 2022

Sample Playbooks

Name Description
Create VM Create a Hyper-V VM

About

Set of Ansible modules and playbooks to create, modify and operate with HyperV based virtual machines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published