nodejs: Don't try to install "npm", its included in "nodejs" package
authorAlexander Barton <alex@barton.de>
Mon, 28 Jan 2019 12:58:06 +0000 (13:58 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 28 Jan 2019 12:58:06 +0000 (13:58 +0100)
In the past "npm" was a separate package which depended on the "nodejs"
package, but today, "npm" is included in the latter.

roles/nodejs/tasks/main.yml

index a417ec4..167a111 100644 (file)
     - nodejs
     - packages
 
-- name: install "npm"
+- name: install "nodejs"
   tags:
     - nodejs
     - packages
   apt:
-    name: npm
+    name: nodejs
     state: present