Skip to content

Commit 84fd872

Browse files
committed
Fix kill task
1 parent 18efc48 commit 84fd872

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

domain/kill/tasks/images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: Delete Images
3-
ansible.builtin.shell: 'rm -rf {{ item }}.*'
3+
ansible.builtin.shell: 'rm -rf {{ item }}/'
44
args:
55
chdir: "{{ libvirt_images_path }}"
6-
removes: "{{ libvirt_images_path }}/{{ item }}.img"
6+
removes: "{{ libvirt_images_path }}/{{ item }}/"
77
loop: "{{ libvirt_domain_names }}"

0 commit comments

Comments
 (0)