Ansible Galaxy: https://galaxy.ansible.com/ruzickap/virtio-win/
This role should help with installing Virtio Windows drivers and spice-guest-tools:
- Virtio Network Driver (netkvm)
- Virtio Block Driver (viostor)
- QXL Graphics Driver (qxldod)
- VirtIO SCSI pass-through controller Driver (vioscsi)
- Baloon Driver (Balloon)
- Virtio RNG driver (viorng)
- Virtio serial driver (vioserial)
- Virtio Input driver (vioinput)
- pvpanic device driver (pvpanic)
- Qemu Guest Agent (qemu-ga-x86_64)
- SPICE Guest Tools (vdagent-win)
It's handy if you are running Windows on the KVM hypervisor, because you will get the best performance using VirtIO drivers + tools.
Ansible 2.7 or later
Available variables are listed below, along with default values
(see defaults/main.yml
):
# Find the available versions here https://www.spice-space.org/download/windows/vdagent/
vdagent_win_version: 0.9.0
# URL of the virtio-win.iso
virtio_win_iso_url: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso
# Path where the are the files/directories from virtio-win.iso (usually CD-ROM).
# If this is set, then the virtio-win.iso is going to be downloaded.
virtio_win_iso_path: E:\\
Windows 64 bit (amd64) (x64)
- hosts: all
roles:
- { role: ruzickap.virtio-win }
# or
- role: ruzickap.virtio-win
virtio_win_iso_path: 'E:\\'
MIT
This role was created in 2017 by [email protected]