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

@@ -2,4 +2,3 @@
dependencies:
- role: info
- role: system
# - elliotweiser.osx-command-line-tools

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:

View File

@@ -0,0 +1,19 @@
- name: Clone nvm
tags:
- install
ansible.builtin.git:
accept_newhostkey: true
clone: true
force: true
recursive: false
repo: https://github.com/nvm-sh/nvm
dest: "{{ home }}/.nvm"
- name: Install node and set version
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

View File

@@ -1,6 +1,6 @@
---
terminal_pkgs:
#- atuin
# - atuin
- bat
- eza
- direnv
@@ -10,7 +10,7 @@ terminal_pkgs:
- ripgrep
- neovim
- gh
#- starship
# - starship
- tmux
- zoxide
- git