diff --git a/ansible/playbooks/cluster-installation.yml b/ansible/playbooks/cluster-installation.yml index 2af41872..b23b89e6 100644 --- a/ansible/playbooks/cluster-installation.yml +++ b/ansible/playbooks/cluster-installation.yml @@ -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 }}"