From 619b4bafa917e02050097da93b66f79b681b6381 Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Fri, 6 Aug 2021 05:48:08 +0200 Subject: [PATCH] fix npm install --- roles/matrix-bridge-discord/tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/matrix-bridge-discord/tasks/main.yml b/roles/matrix-bridge-discord/tasks/main.yml index 3289a3c..ede80ad 100644 --- a/roles/matrix-bridge-discord/tasks/main.yml +++ b/roles/matrix-bridge-discord/tasks/main.yml @@ -35,7 +35,7 @@ - name: Dowload the sources of the bot git: - repo: 'https://github.com/t2bot/matrix-appservice-discord.git' + repo: 'https://github.com/Half-Shot/matrix-appservice-discord.git' dest: /srv/matrix-appservice-discord update: no # because this module is stupid and cannot ignore local changes # notify: Re-build discord bridge @@ -45,6 +45,11 @@ path: /srv/matrix-appservice-discord state: latest executable: /usr/bin/npm --force + retries: 3 + delay: 1 + register: npm_install_result + until: npm_install_result is succeeded + # The dependencies are screwed up... - name: Build typescript shell: