We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca886e8 + cb8b77a commit fd2f1cfCopy full SHA for fd2f1cf
nodejs/provisioning/playbook.yml
@@ -38,10 +38,10 @@
38
npm: "path={{ node_apps_location }}/app"
39
40
- name: Check list of running Node.js apps.
41
- command: /usr/local/bin/forever list
+ command: npx forever list
42
register: forever_list
43
changed_when: false
44
45
- name: Start example Node.js app.
46
- command: "/usr/local/bin/forever start {{ node_apps_location }}/app/app.js"
+ command: "npx forever start {{ node_apps_location }}/app/app.js"
47
when: "forever_list.stdout.find(node_apps_location + '/app/app.js') == -1"
0 commit comments