From 96c51c415bd8ad66ba8aa80108e2a0d0bd631892 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Sat, 30 Jul 2022 19:56:36 +0200 Subject: [PATCH] Increased npm timeout --- roles/cyberchef/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/cyberchef/tasks/main.yml b/roles/cyberchef/tasks/main.yml index bd2141d..715289c 100644 --- a/roles/cyberchef/tasks/main.yml +++ b/roles/cyberchef/tasks/main.yml @@ -22,9 +22,9 @@ path: /home/cyberchef/.npm-global state: directory -- name: Set user's npm config path +- name: Set some npm config become_user: cyberchef - command: npm config set prefix '~/.npm-global' + command: npm config set prefix '~/.npm-global && npm config set fetch-retry-mintimeout 30000 && npm config set fetch-retry-maxtimeout 150000' - name: Set user's path variable copy: