mirror of
https://gitea.0xace.cc/ansible-galaxy/wal-g-pg.git
synced 2024-11-25 00:06:40 +00:00
keep old configs on update
update regex
This commit is contained in:
parent
23a4dfe28b
commit
4632c3666d
@ -93,6 +93,7 @@
|
|||||||
owner: "{{ wal_g_pg_config_owner }}"
|
owner: "{{ wal_g_pg_config_owner }}"
|
||||||
group: "{{ wal_g_pg_config_group }}"
|
group: "{{ wal_g_pg_config_group }}"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
backup: yes
|
||||||
tags: wal-g, wal_g, wal_g_conf
|
tags: wal-g, wal_g, wal_g_conf
|
||||||
|
|
||||||
- name: Create wal-g restore config
|
- name: Create wal-g restore config
|
||||||
@ -109,3 +110,4 @@
|
|||||||
owner: "{{ wal_g_pg_config_owner }}"
|
owner: "{{ wal_g_pg_config_owner }}"
|
||||||
group: "{{ wal_g_pg_config_group }}"
|
group: "{{ wal_g_pg_config_group }}"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
backup: yes
|
||||||
|
@ -6,7 +6,7 @@ wal_g_pg_home_dir: "/var/lib/postgresql"
|
|||||||
wal_g_pg_data_dir: "{{ wal_g_pg_home_dir }}/{{ wal_g_pg_major_version }}/{{ wal_g_pg_cluster_name }}"
|
wal_g_pg_data_dir: "{{ wal_g_pg_home_dir }}/{{ wal_g_pg_major_version }}/{{ wal_g_pg_cluster_name }}"
|
||||||
wal_g_pg_cluster_name: "main"
|
wal_g_pg_cluster_name: "main"
|
||||||
|
|
||||||
wal_g_postgresql_package_name_regex: 'postgresql-.[{{ wal_g_postgresql_supported_versions | join(",") }}]'
|
wal_g_postgresql_package_name_regex: 'postgres.*[{{ wal_g_postgresql_supported_versions | join(",") }}]'
|
||||||
|
|
||||||
wal_g_package_name: "wal-g"
|
wal_g_package_name: "wal-g"
|
||||||
wal_g_package: "{{ wal_g_package_name }}={{ wal_g_version }}-{{ wal_g_version_build }}"
|
wal_g_package: "{{ wal_g_package_name }}={{ wal_g_version }}-{{ wal_g_version_build }}"
|
||||||
|
@ -8,7 +8,7 @@ wal_g_rpm_repository:
|
|||||||
wal_g_pg_home_dir: "/var/lib/pgsql"
|
wal_g_pg_home_dir: "/var/lib/pgsql"
|
||||||
wal_g_pg_data_dir: "{{ wal_g_pg_home_dir }}/{{ wal_g_pg_major_version }}/data"
|
wal_g_pg_data_dir: "{{ wal_g_pg_home_dir }}/{{ wal_g_pg_major_version }}/data"
|
||||||
|
|
||||||
wal_g_postgresql_package_name_regex: 'postgresql.[{{ wal_g_postgresql_supported_versions | join(",") }}]-server'
|
wal_g_postgresql_package_name_regex: 'postgres.*[{{ wal_g_postgresql_supported_versions | join(",") }}]-server'
|
||||||
|
|
||||||
wal_g_package_name: "wal-g"
|
wal_g_package_name: "wal-g"
|
||||||
wal_g_package: "{{ wal_g_package_name }}-{{ wal_g_version }}"
|
wal_g_package: "{{ wal_g_package_name }}-{{ wal_g_version }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user