Move vars to defaults

This commit is contained in:
Tobias Reisinger 2025-08-10 23:44:23 +02:00
parent 70578f2a13
commit bf08ae8f81
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
40 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,20 @@
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 }}'