Files
toallab-automation/roles/oatakan.windows_ovirt_template/defaults/main.yml

78 lines
2.4 KiB
YAML

---
install_updates: yes
instance_wait_retry_limit: 300
instance_wait_connection_timeout: 400
instance_stop_retry_limit: 60
# this will remove existing template with the same name
template_force: no
template_found: no
export_ovf: no
enable_auto_logon: yes
remove_vm_on_error: yes
vm_failed: no
custom_efi_enabled: no
custom_efi_path: /usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd
qemu_second_cdrom_device_bus_type: ide
qemu_second_cdrom_device_bus_id: 3 # tested with Q35 chipset, if using I440FX chipset, try setting this to 1
qemu_second_cdrom_device_bus_unit: 0 # tested with Q35 chipset, if using I440FX chipset, try setting this to 1
virtio_iso_url: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.173-2/virtio-win.iso
winrm_enable_script_url: https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
set_network_to_private: '([Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]"{DCB00C01-570F-4A9B-8D69-199FDBA5723B}"))).GetNetworkConnections() | % {$_.GetNetwork().SetCategory(1)}'
windows_build_role: oatakan.windows_template_build
local_administrator_password: Chang3MyP@ssw0rd21
local_account_username: ansible
local_account_password: Chang3MyP@ssw0rd21
distro_name: win2019
iso_file_name: 17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso
windows_sysprep_template_folder: windows_server
vm_ansible_port: 5986
vm_ansible_winrm_transport: credssp
vm_upgrade_powershell: no
template_vm_name: windows-2019-standard-core-auto
template_vm_root_disk_size: 30
template_vm_root_disk_format: cow
template_vm_root_disk_interface: virtio
template_vm_memory: 4096
template_vm_cpu: 2
template_vm_guest_id: windows_2019x64
template_vm_efi: no
template_vm_network_name: ovirtmgmt
template_vm_ip_address: 192.168.10.95
template_vm_netmask: 255.255.255.0
template_vm_gateway: 192.168.10.254
template_vm_domain: home.ad
template_vm_dns_servers:
- 192.168.1.254
- 8.8.8.8
template_convert_timeout: 900
template_convert_seal: no
template_timezone: 'GMT Standard Time'
ovirt_datacenter: mydatacenter
ovirt_cluster: production
ovirt_data_domain: data_domain
ovirt_export_domain: export_domain
ovirt_iso_domain: iso_domain
os_short_names:
win2008: 2k8R2
win2012: 2k12R2
win2016: 2k16
win2019: 2k19
win2022: 2k19 # 2k22 is not *yet* available on virtio iso
win10: w10