We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18efc48 commit 84fd872Copy full SHA for 84fd872
domain/kill/tasks/images.yml
@@ -1,7 +1,7 @@
1
---
2
- name: Delete Images
3
- ansible.builtin.shell: 'rm -rf {{ item }}.*'
+ ansible.builtin.shell: 'rm -rf {{ item }}/'
4
args:
5
chdir: "{{ libvirt_images_path }}"
6
- removes: "{{ libvirt_images_path }}/{{ item }}.img"
+ removes: "{{ libvirt_images_path }}/{{ item }}/"
7
loop: "{{ libvirt_domain_names }}"
0 commit comments