We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa07e3 commit 851e2a5Copy full SHA for 851e2a5
tasks/volumes.yml
@@ -26,7 +26,7 @@
26
-b {{ item.backing_image }}
27
{% endif %}
28
with_items: "{{ volumes }}"
29
- when: "{{ item.device == 'disk' }}"
+ when: "{{ item.device | default(libvirt_volume_default_device) == 'disk' }}"
30
environment: "{{ libvirt_vm_script_env }}"
31
register: volume_result
32
changed_when:
0 commit comments