fix: correct condition for symlink creation in utils.yml to exclude Go files
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 14s
Nix Format Check / check-format (push) Successful in 46s
Python Lint Check / check-python (push) Failing after 10s

This commit is contained in:
Menno van Leeuwen 2025-03-26 14:33:17 +01:00
parent f0159bdea7
commit 2c635164e7
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -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