-
- Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
When I run the node js example, forever doesn't properly install. Vagrant 1.8.1/ansible 2.0.0.2
TASK [Check list of running Node.js apps.] *************************************
fatal: [192.168.60.7]: FAILED! => {"changed": false, "cmd": "forever list", "failed": true, "invocation": {"module_args": {"_raw_params": "forever list", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "msg": "[Errno 2] No such file or directory", "rc": 2}
I updated the forever installation to use the command module instead of npm and it works properly.
- name: Install Forever (to run our Node.js app).
command: "npm install forever -g"
Metadata
Metadata
Assignees
Labels
No labels
