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: