update version and keep old configs on update

This commit is contained in:
ace 2024-11-03 17:10:10 +03:00
parent a933eecdd1
commit 31d4b33468
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
postgresql_version: "16.3"
postgresql_version: "16.4"
# Options
postgresql_install_official_repo: true

View File

@ -27,6 +27,7 @@
mode: 0600
owner: "{{ postgresql_user }}"
group: "{{ postgresql_group }}"
backup: yes
register: pg_hba_config_file
notify:
- Reload PostgreSQL
@ -38,6 +39,7 @@
mode: 0600
owner: "{{ postgresql_user }}"
group: "{{ postgresql_group }}"
backup: yes
register: postgresql_config_file
notify:
- Reload PostgreSQL
@ -49,6 +51,7 @@
mode: 0600
owner: "{{ postgresql_user }}"
group: "{{ postgresql_group }}"
backup: yes
register: postgresql_ssl_config_file
notify:
- Reload PostgreSQL