1
0
Fork 0

Create PostgreSQL user "matrix_media_repo"

This commit is contained in:
Alex Kotov 2020-07-16 02:29:52 +05:00
parent ac849f59c1
commit 4312abfbcb
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 10 additions and 1 deletions

View file

@ -16,7 +16,7 @@ fi
extra_opts="--extra-vars admin=$admin"
for vault_id in default kotovalexarian xuhcc
for vault_id in default kotovalexarian xuhcc postgres matrix
do
if [ -f "$ROOT/secrets/$vault_id" ]; then
extra_opts="$extra_opts --vault-id $vault_id@$ROOT/secrets/$vault_id"

View file

@ -32,6 +32,15 @@ postgresql_users:
3738616138303739350a646331323639306464656332383233333664653561313934666366623939
65373839653630353830326336376534313136313735343532373232653536653363366132333363
6639346134356664313434373664653734366361633935633230
- name: matrix_media_repo
password: !vault |
$ANSIBLE_VAULT;1.2;AES256;postgres
39386236643763333734653936616466376334636166646133653335626365373039356262376161
3439353138643533613166333562663134666539653431340a636231353663633033363034643232
63393063346332353765343961383730633266613532656234336266623538376332636361353932
6634626266333033330a626536333161663239353831306466323038373961663132306334386437
64376231643964363935633531643938616430396664393237613361626465373536643339656566
6233663734316163386434343332346364363362653934363162
postgresql_databases:
- name: matrix_synapse