fix: ansible error when trying to delete files
This commit is contained in:
1 parent
00798e85e8
commit
edb3b21310
1 file changed
+2
-2
@@ -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 }}"
|
||||
Reference in new issue
Block a user