add a few updates

matrix
histausse 3 years ago
parent 3beecd89c6
commit f7f7e60f2d
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -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

Loading…
Cancel
Save