fixes with linter

This commit is contained in:
ProgramSnail 2025-08-09 11:47:58 +03:00
parent 932046cc39
commit 66109effc5
20 changed files with 124 additions and 111 deletions

View file

@ -11,15 +11,18 @@
- curl
state: latest
# TODO: use curl script ??
- name: Install bun
ansible.builtin.shell:
cmd: npm install -g bun
ansible.builtin.command:
cmd: npm install -g bun
changed_when: true # change is checked inside npm
- name: Get programs list to check fish presence
ansible.builtin.package_facts:
manager: auto
- name: Update fish path
ansible.builtin.shell:
cmd: echo 'fish_add_path {{ ansible_env.HOME }}/.bun/bin'
when: "'fish' in ansible_facts.packages"
- name: Update fish path for bun
ansible.builtin.shell: fish_add_path {{ ansible_env.HOME }}/.bun/bin
args:
executable: /usr/bin/fish
changed_when: true # change is checked inside fish_add_path