Skip to content

Commit

Permalink
feat: Support Ubuntu 24.04 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziwi01 committed Aug 27, 2024
1 parent f2afaf5 commit 1185d4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions ansible/roles/software/tasks/nvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
tags:
- versions

- name: "[NVM] Clone NVM repository and checkout {{ nvm_version }}"
ansible.builtin.git:
repo: "https://github.com/nvm-sh/nvm.git"
dest: "{{ ansible_env.HOME }}/.local/opt/nvm"
version: "v{{ nvm_version }}"
# - name: "[NVM] Clone NVM repository and checkout {{ nvm_version }}"
# ansible.builtin.git:
# repo: "https://github.com/nvm-sh/nvm.git"
# dest: "{{ ansible_env.HOME }}/.local/opt/nvm"
# version: "v{{ nvm_version }}"

# TODO: do not install if already proper version installed
- name: "[NVM] Install NVM" # noqa no-changed-when
ansible.builtin.shell: "./install.sh"
ansible.builtin.shell: "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v{{ nvm_version }}/install.sh | bash | NVM_DIR=\"{{ ansible_env.HOME }}/.local/opt/nvm\""
args:
chdir: "{{ ansible_env.HOME }}/.local/opt/nvm"
executable: /bin/bash
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/software/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ service_manager: systemd
default_apt_packages:
- curl
- unzip
- mlocate
#- plocate
- tree
- htop
- jq
Expand All @@ -21,7 +21,7 @@ default_apt_packages:
- php
- composer
- keychain
- exa # Used in fzf-tab
# - exa # Used in fzf-tab
- bc # Required for git commands in cmdline
- libfuse2 # Required for Neovim Appimage
- groff # Required for AWS CLI
Expand Down

0 comments on commit 1185d4e

Please sign in to comment.