configure the bridge
This commit is contained in:
parent
712526a714
commit
3f412974fd
1 changed files with 29 additions and 0 deletions
|
@ -25,4 +25,33 @@
|
|||
retries: 3
|
||||
until: apt_result is succeeded
|
||||
|
||||
- name: Ensure the /srv folder exist
|
||||
file:
|
||||
path: /srv
|
||||
state: directory
|
||||
group: root
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
|
||||
- name: Dowload the sources of the bot
|
||||
git:
|
||||
repo: 'https://github.com/t2bot/matrix-appservice-discord.git'
|
||||
dest: /srv/matrix-appservice-discord
|
||||
|
||||
- name: Configure the bridge
|
||||
template:
|
||||
src: config.yaml
|
||||
dest: /srv/matrix-appservice-discord/config.yaml
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0660'
|
||||
|
||||
- name: Generate discord-registration.yaml
|
||||
debug:
|
||||
msg: "TODO: Generate discord-registration.yaml"
|
||||
|
||||
- name:
|
||||
file:
|
||||
src: /srv/matrix-appservice-discord/discord-registration.yaml
|
||||
dest: /etc/matrix-synapse/discord-registration.yaml
|
||||
state: link
|
||||
|
|
Loading…
Reference in a new issue