--- - 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