From aceba8407bda5ba8f4f92ecd43345f886c5fff42 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 2 Oct 2021 22:03:05 -0500 Subject: [PATCH] Add DB configuration for Synapse --- inventory/group_vars/all.yml | 9 +++++++++ playbooks/prod_db.yml | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/inventory/group_vars/all.yml b/inventory/group_vars/all.yml index 591655d..26aa920 100644 --- a/inventory/group_vars/all.yml +++ b/inventory/group_vars/all.yml @@ -269,6 +269,15 @@ secret_snmp_rouser_privacy_passphrase: !vault | 3764363538636232630a383730323433343239663461373030383132626532306130363965316661 64353932376139613765303764313463353366663535653135393637633835353566 +# For Synapse +secret_synapse_db_pass: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 38343663383430353236366263666664376162666635633764646539383239613864363838663262 + 3165313832643330346336613465323439316461643432660a623337373562626431613561323566 + 64323162623530303965316634666532333034313864663133663933623438313230386261623064 + 3663623537333161630a616263656362633461366462613366323262363734353233373330393932 + 36653333643632313139396631633962386533323330346639363736353863313763 + # For home media stuff secret_transmission_user_pass: !vault | $ANSIBLE_VAULT;1.1;AES256 diff --git a/playbooks/prod_db.yml b/playbooks/prod_db.yml index f138587..9bce462 100755 --- a/playbooks/prod_db.yml +++ b/playbooks/prod_db.yml @@ -39,6 +39,8 @@ password: "{{ secret_peertube_db_pass }}" - name: pleroma-cowfee password: "{{ secret_pleroma_9iron_db_pass }}" + - name: synapse-desultd + password: "{{ secret_synapse_db_pass }}" postgresql_databases: - name: gitea-desultd owner: gitea-desultd @@ -54,4 +56,8 @@ owner: pleroma-cowfee - name: peertube owner: peertube-cowfee + - name: synapse-desultd + lc_collate: C + lc_ctype: C + owner: synapse-desultd tags: [ db, psql ]