add a few updates

This commit is contained in:
histausse 2021-08-06 04:10:46 +02:00
parent 3beecd89c6
commit f7f7e60f2d
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -6,7 +6,7 @@
vars: vars:
postgres_users: postgres_users:
- name: bridge_discor_user - name: bridge_discor_user
password: "{{ matrix_bridge_discor_postgre_user_pwd }}" password: "{{ matrix_bridge_discord_postgre_user_pwd }}"
databases: databases:
- name: bridge_discord - name: bridge_discord
owner: bridge_discor_user owner: bridge_discor_user
@ -37,7 +37,14 @@
git: git:
repo: 'https://github.com/t2bot/matrix-appservice-discord.git' repo: 'https://github.com/t2bot/matrix-appservice-discord.git'
dest: /srv/matrix-appservice-discord 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 - name: Build typescript
shell: shell:
@ -45,11 +52,6 @@
chdir: /srv/matrix-appservice-discord chdir: /srv/matrix-appservice-discord
creates: /srv/matrix-appservice-discord/build creates: /srv/matrix-appservice-discord/build
- name: Install dependencies
npm:
path: /srv/matrix-appservice-discord
state: latest
- name: Configure the bridge - name: Configure the bridge
template: template:
src: config.yaml src: config.yaml