--- - name: Installing node version manager hosts: [ 'debian10' ] tasks: - name: Install nvm become: true become_user: '{{ site_name }}' shell: 'wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash'