We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a803654 + cb6251b commit e33ebe6Copy full SHA for e33ebe6
tasks/destroy-volumes.yml
@@ -3,8 +3,9 @@
3
script: >
4
destroy_virt_volume.sh
5
{{ item.name }}
6
- {{ item.pool }}
+ {{ item.pool | default('default') }}
7
with_items: "{{ volumes }}"
8
+ when: item.type | default(libvirt_volume_default_type) == 'volume'
9
register: volume_result
10
environment: "{{ libvirt_vm_script_env }}"
11
changed_when:
0 commit comments