diff --git a/node.yml b/node.yml index 4410b60..f238bd1 100644 --- a/node.yml +++ b/node.yml @@ -38,9 +38,9 @@ name: nodejs state: present - name: install dependencies - npm: - path: "/project/course/dummy/swarmlab-app/src" - state: present + command: npm install + args: + chdir: "/project/course/dummy/swarmlab-app/src" - name: Build app command: npm run start args: