Update postgresql variable to match the new scheme in bdd.adm.auro.re

This commit is contained in:
otthorn 2021-03-13 02:48:10 +01:00
parent 8ec838962d
commit 98171e449d

View file

@ -1,8 +1,60 @@
---
postgresql:
version: 13
hosts: # dbname, username, CIDR ip addr, auth method
- [ "nextcloud", "nextcloud", "10.128.0.58", "md5" ]
- [ "gitea", "gitea", "10.128.0.60", "md5" ]
- [ "drone", "drone", "10.128.0.64", "md5" ]
- [ "wikijs", "wikijs", "10.128.0.66", "md5" ]
- [ "vote", "vote", "10.128.0.81", "md5" ]
postgresql_hosts:
- database: nextcloud
user: nextcloud
net: 10.128.0.58/32
method: md5
- database: gitea
user: gitea
net: 10.128.0.60/32
method: md5
- database: vote
user: vote
net: 10.128.0.81/32
method: md5
- database: wikijs
user: wikijs
net: 10.128.0.66/32
method: md5
- database: drone
user: drone
net: 10.128.0.64/32
method: md5
postgresql_databases:
- nextcloud
- gitea
- vote
- wikijs
- drone
postgresql_users:
- name: nextcloud
database: nextcloud
password: "{{ postgresql_nextcloud_passwd }}"
privs:
- ALL
- name: gitea
database: gitea
password: "{{ postgresql_gitea_passwd }}"
privs:
- ALL
- name: vote
database: vote
password: "{{ postgresql_vote_passwd }}"
privs:
- ALL
- name: wikijs
database: wikijs
password: "{{ postgresql_wikijs_passwd }}"
privs:
- ALL
- name: drone
database: drone
password: "{{ postgresql_drone_passwd }}"
privs:
- ALL
...