mirror of
https://gitea.0xace.cc/ansible-galaxy/wal-g.git
synced 2025-06-08 02:21:11 +00:00
rewrite logic for a db restore support
This commit is contained in:
parent
0cca5cba39
commit
218ec7c11d
@ -79,6 +79,9 @@
|
||||
set_fact:
|
||||
wal_g_pg_major_version: "{{ ansible_facts.packages[wal_g_postgresql_package][0]['version'] | split('.') | first }}"
|
||||
|
||||
- name: Create wal-g config
|
||||
when: wal_g_config is defined
|
||||
block:
|
||||
- name: Merge user options for WAL-G part of config
|
||||
set_fact:
|
||||
wal_g_combined_config: "{{ wal_g_default_config | combine(wal_g_config|default({}), recursive=true) }}"
|
||||
@ -93,7 +96,7 @@
|
||||
tags: wal-g, wal_g, wal_g_conf
|
||||
|
||||
- name: Create wal-g restore config
|
||||
when: wal_g_restore
|
||||
when: wal_g_restore_config is defined
|
||||
block:
|
||||
- name: Merge user options for WAL-G part of restore config
|
||||
set_fact:
|
||||
|
Loading…
x
Reference in New Issue
Block a user