mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-03 05:48:16 +00:00
names fix, fish config copying, some fixes dn to tests
This commit is contained in:
parent
c2a86623a7
commit
9e97c4c76d
21 changed files with 92 additions and 108 deletions
|
|
@ -1,18 +1,14 @@
|
|||
- name: Install nodejs
|
||||
- name: Installing nodejs & curl (for bun)
|
||||
become: true
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- nodejs
|
||||
- curl
|
||||
state: latest
|
||||
|
||||
- name: Curl is required for bun
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- curl
|
||||
state: latest
|
||||
|
||||
# TODO: use curl script ??
|
||||
- name: Install bun
|
||||
- name: Installing bun
|
||||
become: true
|
||||
ansible.builtin.command:
|
||||
cmd: npm install -g bun
|
||||
changed_when: true # change is checked inside npm
|
||||
|
|
@ -22,7 +18,7 @@
|
|||
manager: auto
|
||||
|
||||
- name: Update fish path for bun
|
||||
ansible.builtin.shell: fish_add_path {{ ansible_env.HOME }}/.bun/bin
|
||||
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/.bun/bin
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
changed_when: true # change is checked inside fish_add_path
|
||||
changed_when: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue