forked from jasonodonnell/postgres-operator-playbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory
94 lines (78 loc) · 2.31 KB
/
inventory
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env python"
[all:vars]
# PGO Admin Credentials
pgo_username='admin'
pgo_password=''
# Crunchy Container Suite images to use. The tags centos7 and rhel7 are acceptable.
ccp_image_prefix='crunchydata'
ccp_image_tag='centos7-11.1-2.3.1'
# Crunchy PostgreSQL Operator images to use. The tags centos7 and rhel7 are acceptable.
co_image_prefix='crunchydata'
co_image_tag='centos7-3.5.1'
# This will set default enhancements for operator deployed PostgreSQL clusters
auto_failover='false'
backrest='false'
badger='false'
metrics='false'
# pgBackRest Defaults
archive_mode='true'
archive_timeout=60
# Log Defaults
log_statement='none'
log_min_duration_statement=60000
# Autofail Settings
auto_failover_replace_replica=false
auto_failover_sleep_secs=9
# Scheduler Settings
scheduler_timeout=3600
# PostgreSQL Settings
# Default parameters for objects created when the database container starts
# such as: default database name and default username
# ===================
db_name='userdb'
db_password_age_days=60
db_password_length=20
db_port=5432
db_replicas=1
db_user='testuser'
# Storage Settings
# ==================
# Which storage definitions to use when creating persistent volumes
# for a variety of uses.
# Note: it is suggested that backup_storage be configured to a ReadWriteMany
# storage provider for pgBackRest to work correctly.
backrest_storage='storage1'
backup_storage='storage1'
primary_storage='storage2'
replica_storage='storage3'
xlog_storage='storage1'
storage1_access_mode='ReadWriteMany'
storage1_size='1G'
storage1_type='dynamic'
storage1_class='nfs'
#storage1_supplemental_groups=65534
#storage1_fs_group=26
storage2_access_mode='ReadWriteOnce'
storage2_size='1G'
storage2_type='dynamic'
storage2_class='fast'
#storage2_supplemental_groups=65534
#storage2_fs_group=26
storage3_access_mode='ReadWriteOnce'
storage3_size='1G'
storage3_type='dynamic'
storage3_class='fast'
#storage3_supplemental_groups=65534
#storage3_fs_group=26
# Deploy into Openshift
# Note: openshift_token can be used for token authentication
# =====================
# openshift_host=''
# openshift_skip_tls_verify=true
# openshift_project=''
# openshift_user=''
# openshift_password=''
# Deploy into Kubernetes
# =====================
# kubernetes_context=''
# kubernetes_namespace=''