From 7f08be1b7f7999a03e6f72231a82cd7c47f7a275 Mon Sep 17 00:00:00 2001 From: Luiz Costa Date: Thu, 3 Mar 2022 15:48:11 +0000 Subject: [PATCH] Test ignore unmodified file in the project dir Revert "Test ignore unmodified file in the project dir" This reverts commit 26eb6f374a46e27dec7b789eb474ff3931c4084f. Ignore the project dir entirely Add find_exclude_regex Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix Fix --- file_finder.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/file_finder.yml b/file_finder.yml index 8bb1a1a47a..7a365f6aff 100644 --- a/file_finder.yml +++ b/file_finder.yml @@ -15,10 +15,11 @@ - name: Extract file content set_fact: file_content: "{{ file_content | default({}) | combine({ item.path: lookup('file', item.path) }) }}" + when: | + "../project" not in item.path loop: "{{ files.files }}" loop_control: label: "{{ item.path }}" - when: "'/.git/' not in item.path" - name: Set job stats set_stats: