I have the exact same problem. Doing:
- name: update node packages npm: path=/my-path Makes the playbook get stuck, so I have to manually ssh and do npm install :s On Sunday, November 29, 2015 at 1:55:51 PM UTC+10, [email protected] wrote: > > Hi, > > Ansible gets stuck during execution of this task > > - name: install repo packages > become: yes > become_user: deploy > npm: path={{ app_repo_path }} state=present > > > app_repo_path = /var/www/myApp > > I'm using ansible version 1.9.4. And deploying to rackspace servers. > > For the first time it hangs and I have to ssh into the server and run npm > install manually. Is there a workaround to this? Are there anybody out > there using ansible for production in deploying nodejs apps using ansible > npm module? > I also face other issues while doing bower install which initially failed > as root user cannot install bower packages and many times connection times > out in the server while installing thus the task fails. It would be great > to know how people handle these issues. > > Thanks in advance, > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fd28dd91-3486-4348-b420-83d3841f6309%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
