fix: ansible error when trying to delete files

This commit is contained in:
Devin Buhl authored and GitHub committed 2023-05-27 17:34:31 -04:00
1 parent 00798e85e8
commit edb3b21310
1 file changed
+2 -2
+2 -2
View File
@@ -99,10 +99,10 @@
file_type: file
use_regex: true
patterns: ["^custom-.*"]
register: custom_manifest_files
register: custom_manifest
- name: Delete all custom manifest files
ansible.builtin.file:
path: "{{ item.path }}"
state: absent
loop: "{{ custom_manifest_files }}"
loop: "{{ custom_manifest.files }}"