Add support for host passthrough devices
This commit is contained in:
parent
fd2ee25f29
commit
bceca425b2
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,11 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
virt_install_passthrough: >-
|
||||
{% for item in passthrough_devices %}
|
||||
--hostdev {{ item }}
|
||||
{% endfor %}
|
||||
|
||||
tasks:
|
||||
|
||||
- name: get vm list
|
||||
|
@ -94,6 +99,7 @@
|
|||
{% endfor -%}
|
||||
{% endif -%}
|
||||
{{ virt_install_disks }} \
|
||||
{{ virt_install_passthrough }} \
|
||||
{{ virt_install_network }} \
|
||||
{{ virt_install_os_args }}
|
||||
delegate_to: localhost
|
||||
|
|
Loading…
Add table
Reference in a new issue