patroni/tasks/restore.yaml
2023-07-21 17:13:51 +03:00

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