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: