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
|
file_type: file
|
||||||
use_regex: true
|
use_regex: true
|
||||||
patterns: ["^custom-.*"]
|
patterns: ["^custom-.*"]
|
||||||
register: custom_manifest_files
|
register: custom_manifest
|
||||||
|
|
||||||
- name: Delete all custom manifest files
|
- name: Delete all custom manifest files
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
state: absent
|
state: absent
|
||||||
loop: "{{ custom_manifest_files }}"
|
loop: "{{ custom_manifest.files }}"
|
||||||
Reference in new issue
Block a user