mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2024-11-25 00:06:42 +00:00
update version and keep old configs on update
This commit is contained in:
parent
a933eecdd1
commit
31d4b33468
@ -1,4 +1,4 @@
|
|||||||
postgresql_version: "16.3"
|
postgresql_version: "16.4"
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
postgresql_install_official_repo: true
|
postgresql_install_official_repo: true
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
mode: 0600
|
mode: 0600
|
||||||
owner: "{{ postgresql_user }}"
|
owner: "{{ postgresql_user }}"
|
||||||
group: "{{ postgresql_group }}"
|
group: "{{ postgresql_group }}"
|
||||||
|
backup: yes
|
||||||
register: pg_hba_config_file
|
register: pg_hba_config_file
|
||||||
notify:
|
notify:
|
||||||
- Reload PostgreSQL
|
- Reload PostgreSQL
|
||||||
@ -38,6 +39,7 @@
|
|||||||
mode: 0600
|
mode: 0600
|
||||||
owner: "{{ postgresql_user }}"
|
owner: "{{ postgresql_user }}"
|
||||||
group: "{{ postgresql_group }}"
|
group: "{{ postgresql_group }}"
|
||||||
|
backup: yes
|
||||||
register: postgresql_config_file
|
register: postgresql_config_file
|
||||||
notify:
|
notify:
|
||||||
- Reload PostgreSQL
|
- Reload PostgreSQL
|
||||||
@ -49,6 +51,7 @@
|
|||||||
mode: 0600
|
mode: 0600
|
||||||
owner: "{{ postgresql_user }}"
|
owner: "{{ postgresql_user }}"
|
||||||
group: "{{ postgresql_group }}"
|
group: "{{ postgresql_group }}"
|
||||||
|
backup: yes
|
||||||
register: postgresql_ssl_config_file
|
register: postgresql_ssl_config_file
|
||||||
notify:
|
notify:
|
||||||
- Reload PostgreSQL
|
- Reload PostgreSQL
|
||||||
|
Loading…
Reference in New Issue
Block a user