fix the default data directory path

This commit is contained in:
Andrea Dell'Amico 2021-02-05 13:38:15 +01:00
parent b1c0af112f
commit b753d89276
1 changed files with 9 additions and 3 deletions

View File

@ -19,7 +19,7 @@ psql_db_size_c: 170000000
psql_listen_on_ext_int: False psql_listen_on_ext_int: False
psql_use_alternate_data_dir: False psql_use_alternate_data_dir: False
# Deb/Ubuntu # 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_conf_dir: '/etc/postgresql/{{ psql_version }}/main'
psql_log_dir: /var/log/postgresql psql_log_dir: /var/log/postgresql
@ -117,9 +117,15 @@ psql_db_name: db_name
psql_db_user: db_user 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" 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. # Those need to be installed on the postgresql server.
#
pgpool_fixed_version: '4.1.4'
postgresql_pgpool_pkgs: postgresql_pgpool_pkgs:
- 'postgresql-{{ psql_version }}-pgpool2' - 'postgresql-{{ psql_version }}-pgpool2={{ pgpool_fixed_version }}'
#psql_db_data: #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. # 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-II
pgpool_pkgs: pgpool_pkgs:
- pgpool2 - 'pgpool2={{ pgpool_fixed_version }}'
- iputils-arping - iputils-arping
pgpool_el_pkgs: pgpool_el_pkgs: