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:
|
|
|
|
- role: geerlingguy.postgresql
|
|
|
|
postgresql_databases:
|
|
|
|
- name: "{{ dbname }}"
|
|
|
|
postgresql_users:
|
|
|
|
- name: "{{ dbuser }}"
|
|
|
|
password: "{{ dbpw }}"
|
|
|
|
- role: matrix-ansible-synapse
|
|
|
|
matrix_server_name: localhost
|
|
|
|
matrix_synapse_skip_tls: true
|
|
|
|
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 }}"
|
|
|
|
matrix_synapse_macaroon_secret_key: "THIS_IS_TOTALLY_SECRET_1337_L33T_HaxXxOR"
|