Add support for host passthrough devices

This commit is contained in:
Timo Makinen 2021-08-16 16:34:05 +00:00
parent fd2ee25f29
commit bceca425b2

View file

@ -34,6 +34,11 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
virt_install_passthrough: >-
{% for item in passthrough_devices %}
--hostdev {{ item }}
{% endfor %}
tasks: tasks:
- name: get vm list - name: get vm list
@ -94,6 +99,7 @@
{% endfor -%} {% endfor -%}
{% endif -%} {% endif -%}
{{ virt_install_disks }} \ {{ virt_install_disks }} \
{{ virt_install_passthrough }} \
{{ virt_install_network }} \ {{ virt_install_network }} \
{{ virt_install_os_args }} {{ virt_install_os_args }}
delegate_to: localhost delegate_to: localhost