2020-08-18 13:27:55 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'repos': {
|
|
|
|
'matrix': {
|
|
|
|
'items': [
|
|
|
|
'deb https://packages.matrix.org/debian buster main',
|
|
|
|
],
|
2020-04-05 09:38:31 +00:00
|
|
|
},
|
2020-08-18 13:27:55 +00:00
|
|
|
},
|
|
|
|
'packages': {
|
|
|
|
'matrix-synapse-py3': {},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'matrix-synapse': {
|
|
|
|
'registration_shared_secret': repo.vault.human_password_for('{} matrix-synapse registration_shared_secret'.format(node.name)),
|
|
|
|
'database': {
|
|
|
|
'user': 'synapse_user',
|
|
|
|
'password': repo.vault.password_for('{} postgresql synapse_user'.format(node.name)),
|
|
|
|
'database': 'synapse',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'postgresql': {
|
2020-11-10 11:37:58 +00:00
|
|
|
'roles': {
|
2020-08-18 13:27:55 +00:00
|
|
|
'synapse_user': {
|
2020-04-05 09:38:31 +00:00
|
|
|
'password': repo.vault.password_for('{} postgresql synapse_user'.format(node.name)),
|
|
|
|
},
|
|
|
|
},
|
2020-08-18 13:27:55 +00:00
|
|
|
'databases': {
|
|
|
|
'synapse': {
|
|
|
|
'owner': 'synapse_user',
|
2020-06-01 09:09:03 +00:00
|
|
|
},
|
2020-08-18 13:27:55 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|