Skip to content

Ansible role which installs VirtIO Drivers and SPICE Guest Tools for Windows

License

Notifications You must be signed in to change notification settings

ruzickap/ansible-role-virtio-win

Repository files navigation

Ansible Role: virtio-win

Ansible Galaxy

Ansible Galaxy: https://galaxy.ansible.com/ruzickap/virtio-win/

This role should help with installing Virtio Windows drivers and spice-guest-tools:

It's handy if you are running Windows on the KVM hypervisor, because you will get the best performance using VirtIO drivers + tools.

Requirements

Ansible 2.7 or later

Role Variables

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:\\

Dependencies

Windows 64 bit (amd64) (x64)

Example Playbook

- hosts: all
  roles:
    - { role: ruzickap.virtio-win }
    # or
    - role: ruzickap.virtio-win
      virtio_win_iso_path: 'E:\\'

License

MIT

Author Information

This role was created in 2017 by [email protected]