Files
hyperv-demo/inventory/production/hosts.yml

31 lines
639 B
YAML

---
all:
children:
hyperv_hosts:
hosts:
hyperv01.example.com:
ansible_host: 192.168.1.10
windows_servers:
children:
web_servers:
hosts:
# Provisioned VMs will be added here
# DEMO-WEB01:
# ansible_host: 192.168.1.101
app_servers:
hosts:
# Application servers
db_servers:
hosts:
# Database servers
vars:
# Windows connection settings
ansible_connection: winrm
ansible_winrm_transport: kerberos
ansible_winrm_server_cert_validation: ignore
ansible_port: 5986