Skip to content

Commit

Permalink
fix(nvm): Run installation through bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziwi01 committed Aug 28, 2024
1 parent 99f9444 commit 593f614
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/software/tasks/nvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
export NVM_DIR="{{ ansible_env.HOME }}/.local/opt/nvm"
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v{{ nvm_version }}/install.sh | bash
args:
executable: /bin/bash
creates: "{{ ansible_env.HOME }}/.local/opt/nvm/nvm.sh"
register: nvm_result
changed_when: "'already installed' not in nvm_result.stdout"
Expand Down

0 comments on commit 593f614

Please sign in to comment.