Skip to content

Commit cb6251b

Browse files
authored
Update destroy-volumes.yml
1 parent 8c8572b commit cb6251b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/destroy-volumes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{ item.name }}
66
{{ item.pool | default('default') }}
77
with_items: "{{ volumes }}"
8-
when: item.type | default(libvirt_volume_default_type) in ['volume', 'network']
8+
when: item.type | default(libvirt_volume_default_type) == 'volume'
99
register: volume_result
1010
environment: "{{ libvirt_vm_script_env }}"
1111
changed_when:

0 commit comments

Comments
 (0)