From 2c635164e78a1399446c0d36dea74a6a0114286b Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Wed, 26 Mar 2025 14:33:17 +0100 Subject: [PATCH] fix: correct condition for symlink creation in utils.yml to exclude Go files --- config/ansible/tasks/global/utils.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ansible/tasks/global/utils.yml b/config/ansible/tasks/global/utils.yml index 9c7758c..d6f1558 100644 --- a/config/ansible/tasks/global/utils.yml +++ b/config/ansible/tasks/global/utils.yml @@ -21,7 +21,7 @@ dest: "{{ ansible_env.HOME }}/.local/bin/{{ item.path | basename }}" state: link loop: "{{ utils_files.files }}" - when: item.path | regex_search('\.go$') is not defined + when: not item.path | regex_search('\.go$') become: false - name: Compile Go files and place binaries in ~/.local/bin