-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.yml
39 lines (33 loc) · 883 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
version: 11
# Postgres connection settings.
postgres_port: 5432
postgres_listen_addresses: localhost
# Databases.
database_creation: true
psql_databases:
- name: appdb
# lc_collate: # defaults to 'en_US.UTF-8'
# lc_ctype: # defaults to 'en_US.UTF-8'
# encoding: # defaults to 'UTF-8'
# template: # defaults to 'template0'
# conn_limit: # defauls to 10
# owner: # defaults to postgresql_user
# state: # defaults to 'present'
# Users.
users_creation: true
psql_users:
- name: appuser
password: AppUser#Secret@123
# priv: # defaults to not set
# role_attr_flags: # defaults to not set
db: "appdb"
# state: # defaults to 'present'
- name: monitoring
password: Monitoring#Secret@123
# priv: # defaults to not set
# db: # defaults to not set
# Postgres cluster settings.
replication: false
replica_user: replicant
replica_pass: Rep@1234