mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-30 19:28:15 +00:00
fixes with linter
This commit is contained in:
parent
932046cc39
commit
66109effc5
20 changed files with 124 additions and 111 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue