mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-14 05:02:27 +00:00
27 lines
764 B
YAML
27 lines
764 B
YAML
---
|
|
- hosts: all
|
|
become: true
|
|
vars:
|
|
dbname: synapse
|
|
dbuser: synapse_user
|
|
dbpw: synapse_password
|
|
roles:
|
|
- role: geerlingguy.pip
|
|
- role: geerlingguy.postgresql
|
|
postgresql_databases:
|
|
- name: "{{ dbname }}"
|
|
postgresql_users:
|
|
- name: "{{ dbuser }}"
|
|
password: "{{ dbpw }}"
|
|
postgresql_global_config_options:
|
|
- option: listen_address
|
|
value: "*"
|
|
- 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 }}"
|
|
matrix_synapse_extra_config:
|
|
no_tls: true
|