fix npm install

This commit is contained in:
histausse 2021-08-06 05:48:08 +02:00
parent 4557020321
commit 619b4bafa9
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -35,7 +35,7 @@
- name: Dowload the sources of the bot - name: Dowload the sources of the bot
git: 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 dest: /srv/matrix-appservice-discord
update: no # because this module is stupid and cannot ignore local changes update: no # because this module is stupid and cannot ignore local changes
# notify: Re-build discord bridge # notify: Re-build discord bridge
@ -45,6 +45,11 @@
path: /srv/matrix-appservice-discord path: /srv/matrix-appservice-discord
state: latest state: latest
executable: /usr/bin/npm --force 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 - name: Build typescript
shell: shell: