names fix, fish config copying, some fixes dn to tests

This commit is contained in:
ProgramSnail 2025-08-17 10:54:07 +03:00
parent c2a86623a7
commit 9e97c4c76d
21 changed files with 92 additions and 108 deletions

View file

@ -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