Add Matrix/Synapse DB configuration

This commit is contained in:
Salt 2020-12-27 13:18:26 -06:00
parent cf2ce15ca0
commit 2c52a0171c
2 changed files with 15 additions and 0 deletions

View File

@ -121,3 +121,12 @@ secret_pleroma_9iron_db_pass: !vault |
37636162313364623933396232366239633338363539626637373163333130373665373038363566
65646633636638653335356536323334646632366164633532636634376632356166306139393766
38633934623639366263
# For Matrix/Synapse
secret_matrix_9iron_db_pass: !vault |
$ANSIBLE_VAULT;1.1;AES256
64663061333130386634323631353435376330636334623334663365633361336563393634333061
6531393839336532376465356132646337663339333431340a383030373166653835386239643365
31356462653634323162343164633130366664323034373330613764663635326534303935303230
6233636463636134640a386436316462643434343739333232613264303635323261616634326562
63316265366238383038653034326661633163346462396663346563666134393232

View File

@ -55,6 +55,8 @@
password: "{{ secret_nextcloud_9iron_db_pass }}"
- name: pleroma
password: "{{ secret_pleroma_9iron_db_pass }}"
- name: matrix
password: "{{ secret_matrix_9iron_db_pass }}"
postgresql_databases:
- name: gitea
lc_collate: C.UTF-8
@ -68,5 +70,9 @@
lc_collate: C.UTF-8
lc_ctype: C.UTF-8
owner: pleroma
- name: matrix
lc_collate: C
lc_ctype: C
owner: matrix
become: yes
tags: [ db, psql ]