forked from emnify/matrix-synapse-auto-deploy
-
Notifications
You must be signed in to change notification settings - Fork 4
/
playbook.example.yml
31 lines (29 loc) · 1 KB
/
playbook.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
- name: "Setup host variable"
hosts: localhost
connection: local
tasks:
- add_host:
name: "{{ host }}"
groups: matrix_server
changed_when: false
- name: "Setup a Matrix server"
hosts: matrix_server
gather_facts: true
vars:
username: synapse # under wich user the server should be installed and run
hostname: matrix.domain.com # FQDN to be used
enable_registration: true # this will open registration by default, take care if you run a public server!
enable_registration_captcha: false
recaptcha_private_key: YOURPRIVATEKEYHERE
recaptcha_public_key: YOURPUBLICKEYHERE
turn_shared_secret: YOURSHAREDSECRETHERE
database_secret: YOURDATABASESECRETHERE
absolute_path_certificate: /etc/ssl/your_org/fullchain.pem
absolute_path_key: /etc/ssl/your_org/private_key.pem
riot_hostname: chat.domain.com
riot_path_certificate: /etc/ssl/your_org/fullchain.pem
riot_path_key: /etc/ssl/your_org/private_key.pem
riot_path: /var/www/riot
roles:
- .