34 lines
893 B
YAML
34 lines
893 B
YAML
---
|
|
- name: Ensure synapse dependencies are installed
|
|
ansible.builtin.apt:
|
|
name:
|
|
- lsb-release
|
|
- wget
|
|
- apt-transport-https
|
|
- python3-pysaml2
|
|
- python3-psycopg2
|
|
- acl
|
|
state: present
|
|
|
|
- name: Ensure matrix.org repo signing key is trusted
|
|
ansible.builtin.apt_key:
|
|
url: https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
|
|
id: AAF9AE843A7584B5A3E4CD2BCF45A512DE2DA058
|
|
state: present
|
|
|
|
- name: Ensure matrix.org repo is enabled
|
|
ansible.builtin.apt_repository:
|
|
repo: deb https://packages.matrix.org/debian/ {{ ansible_distribution_release }} main
|
|
state: present
|
|
|
|
- name: Ensure synapse is installed
|
|
ansible.builtin.apt:
|
|
name: matrix-synapse-py3
|
|
state: latest
|
|
|
|
- name: Ensure redis in installed for workers
|
|
ansible.builtin.apt:
|
|
name: redis-server
|
|
state: present
|
|
when: synapse_workers is defined
|