add symlink helper

- symlinking is done often enough that it makes sense to have a helper
for it
- move appimage and archive helpers to use symlink helper
- fix formatting of air and alacritty
This commit is contained in:
Matthew Stobbs
2026-02-11 12:28:21 -07:00
parent 3df63f1451
commit b1a4780a97
5 changed files with 66 additions and 51 deletions

View File

@@ -23,7 +23,8 @@
backup: false
- name: Link appimage to bin
ansible.builtin.file:
state: link
src: "{{ path_appimage }}/{{ appimage.name }}/{{ appimage.filename }}"
path: "{{ path_bin }}/{{ appimage.name }}"
vars:
links:
- from: "{{ path_appimage }}/{{ appimage.name }}/{{ appimage.filename }}"
to: "{{ path_bin }}/{{ appimage.name }}"
ansible.builtin.include_tasks: helpers/symlink.yml