Skip to content

Commit

Permalink
Update destroy-volumes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoddard authored Dec 21, 2020
1 parent 8c8572b commit cb6251b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/destroy-volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ item.name }}
{{ item.pool | default('default') }}
with_items: "{{ volumes }}"
when: item.type | default(libvirt_volume_default_type) in ['volume', 'network']
when: item.type | default(libvirt_volume_default_type) == 'volume'
register: volume_result
environment: "{{ libvirt_vm_script_env }}"
changed_when:
Expand Down

0 comments on commit cb6251b

Please sign in to comment.