2019-02-12 02:16:03 +00:00
|
|
|
---
|
2019-02-15 02:24:30 +00:00
|
|
|
- hosts: all
|
|
|
|
become: true
|
|
|
|
vars:
|
|
|
|
dbname: synapse
|
|
|
|
dbuser: synapse_user
|
|
|
|
dbpw: synapse_password
|
|
|
|
roles:
|
2019-02-16 10:25:57 +00:00
|
|
|
- role: geerlingguy.pip
|
2019-02-15 02:24:30 +00:00
|
|
|
- role: geerlingguy.postgresql
|
|
|
|
postgresql_databases:
|
2019-02-17 23:27:45 +00:00
|
|
|
- name: "{{ dbname }}"
|
2019-02-15 02:24:30 +00:00
|
|
|
postgresql_users:
|
2019-02-17 23:27:45 +00:00
|
|
|
- name: "{{ dbuser }}"
|
2019-02-15 02:24:30 +00:00
|
|
|
password: "{{ dbpw }}"
|
2019-02-16 10:25:57 +00:00
|
|
|
postgresql_global_config_options:
|
|
|
|
- option: listen_address
|
|
|
|
value: "*"
|
2019-02-15 02:24:30 +00:00
|
|
|
- role: matrix-ansible-synapse
|
|
|
|
matrix_server_name: localhost
|
|
|
|
matrix_synapse_report_stats: false
|
|
|
|
matrix_synapse_pg_host: localhost
|
|
|
|
matrix_synapse_pg_user: "{{ dbuser }}"
|
|
|
|
matrix_synapse_pg_pass: "{{ dbpw }}"
|
|
|
|
matrix_synapse_pg_db: "{{ dbname }}"
|
2019-02-17 21:40:11 +00:00
|
|
|
matrix_synapse_extra_config:
|
|
|
|
no_tls: true
|