Manually cherrypicked from 65c94d8e84
This commit is contained in:
parent
a54006c9d4
commit
f8e5f0cc76
2 changed files with 47 additions and 8 deletions
|
@ -1,8 +0,0 @@
|
|||
postgresql:
|
||||
version: 11
|
||||
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" ]
|
47
host_vars/bdd.adm.auro.re.yml
Normal file
47
host_vars/bdd.adm.auro.re.yml
Normal file
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
postgresql:
|
||||
version: 13
|
||||
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: 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
|
||||
- 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: wikijs
|
||||
database: wikijs
|
||||
password: "{{ postgresql_wikijs_passwd }}"
|
||||
privs:
|
||||
- ALL
|
||||
- name: drone
|
||||
database: drone
|
||||
password: "{{ postgresql_drone_passwd }}"
|
||||
privs:
|
||||
- ALL
|
||||
...
|
Loading…
Reference in a new issue