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,