ff
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed

This commit is contained in:
Michael Grote 2024-04-14 21:18:56 +02:00
parent fe03630859
commit dd03d7580b

View file

@ -64,15 +64,16 @@
enabled: true enabled: true
- name: Capture files to delete - name: Capture files to delete
find: ansible.builtin.find:
paths: /usr/local/bin/cv4pve paths: /usr/local/bin/cv4pve
file_type: file file_type: file
use_regex: false
excludes: excludes:
- "/usr/local/bin/cv4pve/cv4pve-autosnap-{{ cv4pve_version }}" - "cv4pve-autosnap-{{ cv4pve_version }}"
register: found_files register: found_files
- name: Delete files - name: Delete files
file: ansible.builtin.file:
path: "{{ item.path }}" path: "{{ item.path }}"
state: absent state: absent
with_items: "{{ found_files['files'] }}" with_items: "{{ found_files['files'] }}"