init, dotfiles and install basic roles

This commit is contained in:
ProgramSnail 2025-08-03 12:33:33 +03:00
commit 46bdf4dda0
21 changed files with 283 additions and 0 deletions

View file

@ -0,0 +1,25 @@
- name: Install nodejs
ansible.builtin.dnf5:
name:
- nodejs
- curl
state: latest
- name: Curl is required for bun
ansible.builtin.dnf5:
name:
- curl
state: latest
- name: Install bun
ansible.builtin.shell:
cmd: npm install -g bun
- 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"