library/roles/node_js: Do not install npm, it's part of the nodejs package. Do not install the devel staff.

This commit is contained in:
Andrea Dell'Amico 2018-09-07 18:17:12 +02:00
parent 13d8864f80
commit 567d6564d5
2 changed files with 0 additions and 4 deletions

View File

@ -8,7 +8,6 @@ node_js_repo_urls:
node_js_pkgs:
- nodejs
- npm
node_js_pkg_state: present

View File

@ -28,9 +28,6 @@
tags: [ 'nodejs', 'node_js', 'yarn', 'node_js_yarn' ]
- block:
- name: Remove the Node.js yarn repository key
apt_key: url={{ node_js_yarn_repo_key }} state=absent
- name: Install the Node.js yarn repository configuration
apt_repository: repo={{ item }} state=absent update_cache=True
with_items: '{{ node_js_yarn_repo_urls }}'