From f7f7e60f2d9fdc3ccea28f324833f6fe1b3a713b Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Fri, 6 Aug 2021 04:10:46 +0200 Subject: [PATCH] add a few updates --- roles/matrix-bridge-discord/tasks/main.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/roles/matrix-bridge-discord/tasks/main.yml b/roles/matrix-bridge-discord/tasks/main.yml index eda5566..ee26763 100644 --- a/roles/matrix-bridge-discord/tasks/main.yml +++ b/roles/matrix-bridge-discord/tasks/main.yml @@ -6,7 +6,7 @@ vars: postgres_users: - name: bridge_discor_user - password: "{{ matrix_bridge_discor_postgre_user_pwd }}" + password: "{{ matrix_bridge_discord_postgre_user_pwd }}" databases: - name: bridge_discord owner: bridge_discor_user @@ -37,7 +37,14 @@ git: repo: 'https://github.com/t2bot/matrix-appservice-discord.git' dest: /srv/matrix-appservice-discord - notify: Re-build discord bridge + update: no # because this module is stupid and cannot ignore local changes +# notify: Re-build discord bridge + +- name: Install dependencies + npm: + path: /srv/matrix-appservice-discord + state: latest + executable: /usr/bin/npm --force - name: Build typescript shell: @@ -45,11 +52,6 @@ chdir: /srv/matrix-appservice-discord creates: /srv/matrix-appservice-discord/build -- name: Install dependencies - npm: - path: /srv/matrix-appservice-discord - state: latest - - name: Configure the bridge template: src: config.yaml