fix the default data directory path
This commit is contained in:
parent
b1c0af112f
commit
b753d89276
|
@ -19,7 +19,7 @@ psql_db_size_c: 170000000
|
|||
psql_listen_on_ext_int: False
|
||||
psql_use_alternate_data_dir: False
|
||||
# Deb/Ubuntu
|
||||
psql_data_dir: '/var/lib/postgresql/{{ psql_version }}'
|
||||
psql_data_dir: '/var/lib/postgresql/{{ psql_version }}/main'
|
||||
psql_conf_dir: '/etc/postgresql/{{ psql_version }}/main'
|
||||
psql_log_dir: /var/log/postgresql
|
||||
|
||||
|
@ -117,9 +117,15 @@ psql_db_name: db_name
|
|||
psql_db_user: db_user
|
||||
psql_db_pwd: "We cannot save the password into the repository. Use another variable and change pgpass.j2 accordingly. Encrypt the file that contains the variable with ansible-vault"
|
||||
|
||||
########
|
||||
#
|
||||
# Pgpool-II
|
||||
#
|
||||
# Those need to be installed on the postgresql server.
|
||||
#
|
||||
pgpool_fixed_version: '4.1.4'
|
||||
postgresql_pgpool_pkgs:
|
||||
- 'postgresql-{{ psql_version }}-pgpool2'
|
||||
- 'postgresql-{{ psql_version }}-pgpool2={{ pgpool_fixed_version }}'
|
||||
|
||||
#psql_db_data:
|
||||
# Example of line needed to create a db, create the user that owns the db, manage the db accesses (used by iptables too). All the fields are mandatory.
|
||||
|
@ -132,7 +138,7 @@ postgresql_pgpool_pkgs:
|
|||
|
||||
# pgpool-II
|
||||
pgpool_pkgs:
|
||||
- pgpool2
|
||||
- 'pgpool2={{ pgpool_fixed_version }}'
|
||||
- iputils-arping
|
||||
|
||||
pgpool_el_pkgs:
|
||||
|
|
Loading…
Reference in New Issue