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

15
group_vars/all.yml Normal file
View File

@@ -0,0 +1,15 @@
---
# Global variables for all hosts
# Domain settings
domain_name: example.com
domain_netbios: EXAMPLE
# ServiceNow CMDB integration
servicenow_instance: dev12345.service-now.com
servicenow_table: cmdb_ci_win_server
# Tagging and metadata
project_name: hyperv-automation
environment: "{{ inventory_dir | basename }}"
managed_by: ansible

View File

@@ -0,0 +1,18 @@
---
# Hyper-V host configuration
# Default VM settings
default_vm_cpu_count: 2
default_vm_memory_gb: 4
default_vm_disk_size_gb: 60
# Network settings
default_vm_switch: "Internal Switch"
default_vm_vlan: 100
# VM storage paths
vm_storage_path: "D:\\VMs"
iso_storage_path: "D:\\ISOs"
# Windows Server ISO
windows_server_iso: "{{ iso_storage_path }}\\Windows_Server_2022.iso"

View File

@@ -0,0 +1,31 @@
---
# Web server configuration
# IIS features to install
iis_features:
- Web-Server
- Web-WebServer
- Web-Common-Http
- Web-Default-Doc
- Web-Dir-Browsing
- Web-Http-Errors
- Web-Static-Content
- Web-Http-Redirect
- Web-Health
- Web-Http-Logging
- Web-Performance
- Web-Stat-Compression
- Web-Dyn-Compression
- Web-Security
- Web-Filtering
- Web-Mgmt-Tools
- Web-Mgmt-Console
# Application pool settings
iis_app_pool_name: DefaultAppPool
iis_app_pool_identity: ApplicationPoolIdentity
# Website settings
iis_website_name: Default Web Site
iis_website_port: 80
iis_website_path: C:\inetpub\wwwroot

View File

@@ -0,0 +1,20 @@
---
# Windows Server configuration
# Windows Update settings
windows_update_categories:
- CriticalUpdates
- SecurityUpdates
- UpdateRollups
# Common Windows features
windows_features_remove:
- Windows-Defender
# Timezone
timezone: "Eastern Standard Time"
# DNS servers
dns_servers:
- 192.168.1.1
- 192.168.1.2