From 567d6564d593a7b38f9d6f51f747cbda1a57303d Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 7 Sep 2018 18:17:12 +0200 Subject: [PATCH] library/roles/node_js: Do not install npm, it's part of the nodejs package. Do not install the devel staff. --- node_js/defaults/main.yml | 1 - node_js/tasks/main.yml | 3 --- 2 files changed, 4 deletions(-) diff --git a/node_js/defaults/main.yml b/node_js/defaults/main.yml index 57b77741..19c333c9 100644 --- a/node_js/defaults/main.yml +++ b/node_js/defaults/main.yml @@ -8,7 +8,6 @@ node_js_repo_urls: node_js_pkgs: - nodejs - - npm node_js_pkg_state: present diff --git a/node_js/tasks/main.yml b/node_js/tasks/main.yml index f0ccb41a..44cdce16 100644 --- a/node_js/tasks/main.yml +++ b/node_js/tasks/main.yml @@ -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 }}'