Fix installing vm's without passthrough devices

This commit is contained in:
Timo Makinen 2021-08-18 17:30:28 +00:00
parent ff4e0b32e8
commit 2a2d8bcccd

View file

@ -35,9 +35,11 @@
{% endfor %}
virt_install_passthrough: >-
{% for item in passthrough_devices %}
{% if passthrough_devices is defined %}
{% for item in passthrough_devices %}
--hostdev {{ item }}
{% endfor %}
{% endfor %}
{% endif %}
tasks: