From 630377edad07492ec340429901286d095b193f58 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Wed, 10 Mar 2021 17:21:58 +0100 Subject: [PATCH] Create users and databases on bdd-ovh --- host_vars/bdd-ovh.adm.auro.re.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/host_vars/bdd-ovh.adm.auro.re.yml b/host_vars/bdd-ovh.adm.auro.re.yml index 78aeff4..959dd82 100644 --- a/host_vars/bdd-ovh.adm.auro.re.yml +++ b/host_vars/bdd-ovh.adm.auro.re.yml @@ -19,4 +19,26 @@ postgresql_hosts: user: codimd net: 127.0.0.1/32 method: md5 + +postgresql_databases: + - synapse + - codimd + - etherpad + +postgresql_users: + - name: synapse + database: synapse + password: "{{ postgresql_synapse_passwd }}" + privs: + - ALL + - name: codimd + database: codimd + password: "{{ postgresql_codimd_passwd }}" + privs: + - ALL + - name: etherpad + database: etherpad + password: "{{ postgresql_etherpad_passwd }}" + privs: + - ALL ...