21 lines
749 B
YAML
21 lines
749 B
YAML
|
postgresql_version: 16
|
||
|
|
||
|
postgresql_repo_key_dir: /usr/share/postgresql-common/pgdg
|
||
|
postgresql_repo_key_file: "{{ (postgresql_repo_key_dir, 'apt.postgresql.org.asc') | path_join }}"
|
||
|
|
||
|
postgresql_conf_dir: /etc/postgresql/{{ postgresql_version }}/main
|
||
|
postgresql_conf_pg_hba: "{{ (postgresql_conf_dir, 'pg_hba.conf') | path_join }}"
|
||
|
|
||
|
postgresql_data_dir: /var/lib/postgresql/{{ postgresql_version }}/main
|
||
|
|
||
|
postgresql_bin_dir: /usr/lib/postgresql/{{ postgresql_version }}/bin
|
||
|
postgresql_bin_initdb: "{{ (postgresql_bin_dir, 'initdb') | path_join }}"
|
||
|
|
||
|
postgresql_set_vars:
|
||
|
listen_addresses: '*'
|
||
|
ssl: true
|
||
|
ssl_cert_file: /etc/postgresql/cert.crt
|
||
|
ssl_key_file: /etc/postgresql/cert.key
|
||
|
log_timezone: '{{ timezone }}'
|
||
|
TimeZone: '{{ timezone }}'
|