From 1185d4ede465d47e7cdc8f1325cb1c81edd03676 Mon Sep 17 00:00:00 2001 From: Ziwi Date: Tue, 27 Aug 2024 02:06:28 +0200 Subject: [PATCH] feat: Support Ubuntu 24.04 LTS --- ansible/roles/software/tasks/nvm.yml | 12 ++++++------ ansible/roles/software/vars/main.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ansible/roles/software/tasks/nvm.yml b/ansible/roles/software/tasks/nvm.yml index 410245f..891e9a0 100644 --- a/ansible/roles/software/tasks/nvm.yml +++ b/ansible/roles/software/tasks/nvm.yml @@ -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 diff --git a/ansible/roles/software/vars/main.yml b/ansible/roles/software/vars/main.yml index c2ca4da..00ebecf 100644 --- a/ansible/roles/software/vars/main.yml +++ b/ansible/roles/software/vars/main.yml @@ -11,7 +11,7 @@ service_manager: systemd default_apt_packages: - curl - unzip - - mlocate + #- plocate - tree - htop - jq @@ -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