This commit is contained in:
2024-10-07 21:53:40 +02:00
parent c552125b12
commit 1ef33c16af
13 changed files with 134 additions and 23 deletions

View File

@@ -22,25 +22,23 @@
tags:
- config
- name: Clone nvm
- name: Install atuin
tags:
- install
ansible.builtin.git:
accept_newhostkey: true
clone: true
force: true
recursive: false
repo: https://github.com/nvm-sh/nvm
dest: "{{ home }}/.nvm"
include_role:
name: software/atuin
- name: Install node and set version
- name: Install starship
tags:
- install
include_role:
name: software/starship
- name: Setup node
tags:
- config
register: nodeinstall
ansible.builtin.shell: source {{ home }}/.nvm/nvm.sh && nvm install 22
changed_when: "'is already installed' not in nodeinstall.stderr"
args:
executable: /bin/bash
- install
include_tasks: "nvm.yml"
- name: Setup nvim
tags: