Skip to content

Commit

Permalink
adjust nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwn committed Sep 24, 2024
1 parent 522ff72 commit c5c055c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions roles/nvm/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
- name: Run install script
ansible.builtin.command:
chdir: "{{ ansible_env.HOME }}/install"
cmd: bash nvm_install.sh
cmd: >
bash XDG_CONFIG_HOME={{ ansible_env.HOME }}/.config nvm_install.sh
args:
creates: "{{ ansible_env.HOME }}/.config/nvm/nvm.sh"
environment:
XDG_CONFIG_HOME: "{{ ansible_env.HOME }}/.config"
# environment:
# XDG_CONFIG_HOME: "{{ ansible_env.HOME }}/.config"

- name: Make nvm available in zsh
ansible.builtin.blockinfile:
Expand Down

0 comments on commit c5c055c

Please sign in to comment.