fix: correct condition for symlink creation in utils.yml to exclude Go files
This commit is contained in:
parent
f0159bdea7
commit
2c635164e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user