I am using ansible to install node.js and npm on Debian wheezy VMs following the steps in the Backports section of this .
The following playbook task used to work nicely with conventional ansible ssh mode.
- name: install npm
shell: curl https://www.npmjs.org/install.sh | sh creates=/usr/bin/npm
Until I tried to enable pipelining of ansible 1.5. now it fails with:
npm-install-18570.sh: 246: npm-install-18570.sh: cannot open /dev/tty: No such device or address
The downloaded shellscript install.sh references /dev/tty in line 246 and therefore fails when executed with ansible in pipelining mode.
Can I disable pipelining just for this one task?
Is there another option?"