Skip to content

Commit bf8385e

Browse files
committed
Fixes geerlingguy#23: Node.js forever doesn't install properly.
1 parent a00cacd commit bf8385e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nodejs-role/roles/nodejs/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
yum: name=npm state=present enablerepo=epel
44

55
- name: Install forever module (to run our Node.js app).
6-
npm: name=forever global=yes state=latest
6+
npm: name=forever global=yes state=present

nodejs/provisioning/playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
yum: name=npm state=present enablerepo=epel
2828

2929
- name: Install Forever (to run our Node.js app).
30-
npm: name=forever global=yes state=latest
30+
npm: name=forever global=yes state=present
3131

3232
- name: Ensure Node.js app folder exists.
3333
file: "path={{ node_apps_location }} state=directory"

0 commit comments

Comments
 (0)