- name: download nvm installer become: no get_url: url=https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh dest=/tmp/nvm-installer.sh - name: execute the nvm-installer.sh become: yes shell: sh /tmp/nvm-installer.sh - name: Add nvm initialization to profile become: yes template: src=nvm.sh.j2 dest=/etc/profile.d/nvm.sh - name: install node become: no shell: source /etc/profile && n

