Add Matrix Synapse role
This commit is contained in:
parent
2075a8dfc9
commit
bde8f4ee71
3 changed files with 16 additions and 0 deletions
3
group_vars/all/main.yml
Normal file
3
group_vars/all/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Matrix configuration
|
||||
matrix_domain_name: "matrix.n39.eu"
|
||||
matrix_admin_password: "{{ lookup('password', '/dev/null length=32 chars=ascii_letters,digits') }}"
|
|
@ -26,6 +26,7 @@
|
|||
- name: "{{ grafana_domain_name }}"
|
||||
- name: "{{ homebox_domain_name }}"
|
||||
- name: spaceapi.n39.eu
|
||||
- name: "{{ matrix_domain_name }}"
|
||||
- role: penguineer.dehydrated_cron
|
||||
- role: dd24_dyndns_cron
|
||||
# variables are set in the inventory
|
||||
|
@ -38,6 +39,15 @@
|
|||
cleanuri_api_domain: uritools-api.n39.eu
|
||||
cleanuri_api_host_port: 8091
|
||||
# RabbitMQ setup can be found in the inventory
|
||||
- role: netz39.matrix_synapse
|
||||
vars:
|
||||
matrix_server_name: "{{ matrix_domain_name }}"
|
||||
matrix_database_host: "localhost"
|
||||
matrix_register_admin: true
|
||||
matrix_admin_password: "{{ matrix_admin_password }}"
|
||||
matrix_ssl_enabled: true
|
||||
matrix_ssl_cert_path: "/etc/letsencrypt/live/{{ matrix_domain_name }}/fullchain.pem"
|
||||
matrix_ssl_key_path: "/etc/letsencrypt/live/{{ matrix_domain_name }}/privkey.pem"
|
||||
|
||||
tasks:
|
||||
|
||||
|
|
|
@ -17,6 +17,9 @@ roles:
|
|||
- name: netz39.host_docker
|
||||
src: git+https://github.com/netz39/ansible-role-host-docker.git
|
||||
version: v0.5.0
|
||||
- name: netz39.matrix_synapse
|
||||
src: git+https://github.com/netz39/ansible-role-matrix-synapse.git
|
||||
version: v0.1.0
|
||||
|
||||
collections:
|
||||
- name: community.grafana
|
||||
|
|
Loading…
Add table
Reference in a new issue