Initial hyper-v demo skeleton

This commit is contained in:
2026-04-28 15:59:50 -04:00
commit 1759682aef
14 changed files with 737 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
- name: Provision Windows Server VM on Hyper-V
hosts: hyperv_hosts
gather_facts: false
vars_prompt:
- name: vm_name
prompt: "Enter VM name"
private: false
- name: vm_ip_address
prompt: "Enter IP address for VM"
private: false
tasks:
- name: Placeholder - Create VM
ansible.builtin.debug:
msg: "Will create VM {{ vm_name }} with IP {{ vm_ip_address }}"
# TODO: Implement VM creation using hyper-v modules
# TODO: Generate autounattend.xml from template
# TODO: Attach autounattend.xml to VM
# TODO: Start VM and wait for provisioning
# TODO: Add VM to inventory
# TODO: Update ServiceNow CMDB