add a few updates
This commit is contained in:
parent
3beecd89c6
commit
f7f7e60f2d
1 changed files with 9 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue