mirror of
https://gitea.0xace.cc/ansible-galaxy/patroni.git
synced 2024-11-24 23:56:39 +00:00
8 lines
291 B
YAML
8 lines
291 B
YAML
---
|
|
- name: Copy walg-backup to walg-restore after restore
|
|
copy:
|
|
src: "{{ patroni_postgresql_home_dir ~ '/' ~ patroni_wal_g_backup_config_name }}"
|
|
dest: "{{ patroni_postgresql_home_dir ~ '/' ~ patroni_wal_g_restore_config_name }}"
|
|
remote_src: true
|
|
when: patroni_wal_g_backup
|