2019-10-12 14:46:57 +01:00
|
|
|
- name: "Matrix: Configuration"
|
2019-10-12 13:52:04 +01:00
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
- matrix
|
2019-10-12 14:46:57 +01:00
|
|
|
block:
|
2019-10-20 15:25:37 +01:00
|
|
|
- include: roles/common_server/tasks/docker.yaml
|
|
|
|
|
2019-10-12 14:46:57 +01:00
|
|
|
- name: "Matrix: Configuration: homeserver.yaml"
|
|
|
|
template:
|
|
|
|
src: "templates/homeserver.yaml.j2"
|
2019-10-20 15:25:37 +01:00
|
|
|
dest: "/srv/app/docker/matrix/config/homeserver.yaml"
|
2019-10-12 14:46:57 +01:00
|
|
|
mode: "0400"
|
|
|
|
owner: "matrix-synapse"
|
|
|
|
group: "nogroup"
|
|
|
|
become: yes
|
|
|
|
|
2019-10-20 15:25:37 +01:00
|
|
|
- name: "Matrix: Configuration: homeserver.signing.key"
|
2019-10-12 14:46:57 +01:00
|
|
|
copy:
|
2019-10-20 15:25:37 +01:00
|
|
|
dest: "/srv/app/docker/matrix/config/homeserver.signing.key"
|
|
|
|
content: "{{ signing_key }}"
|
2019-10-12 14:46:57 +01:00
|
|
|
mode: "0400"
|
|
|
|
owner: "matrix-synapse"
|
|
|
|
group: "nogroup"
|
|
|
|
become: yes
|
|
|
|
|
2019-10-20 15:25:37 +01:00
|
|
|
- name: "Matrix: Docker: compose.yaml"
|
2019-10-12 14:46:57 +01:00
|
|
|
copy:
|
2019-10-20 15:25:37 +01:00
|
|
|
dest: "/srv/app/docker/matrix/compose.yaml"
|
|
|
|
src: "files/docker-compose.yaml"
|
2019-10-12 14:46:57 +01:00
|
|
|
mode: "0400"
|
|
|
|
become: yes
|