From edb3b21310f4272f4848a8f58c59aa77bdb0cc3c Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sat, 27 May 2023 17:34:31 -0400 Subject: [PATCH] fix: ansible error when trying to delete files --- ansible/playbooks/cluster-installation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}"