diff --git a/roles/lvm_self_backup/templates/backup-lvm.service b/roles/lvm_self_backup/templates/backup-lvm.service index 6a0a1fd..a56c69b 100644 --- a/roles/lvm_self_backup/templates/backup-lvm.service +++ b/roles/lvm_self_backup/templates/backup-lvm.service @@ -23,7 +23,7 @@ ExecStopPost=/usr/bin/docker rm --force duplicity-backup-lvm # Unmount snapshots {% for item in lvm_self_backup_vols %} -ExecStopPost=/usr/bin/umount /dev/{{ item.vg_name }}/{{ item.lv_name }}_snap +ExecStopPost=/usr/bin/umount /dev/{{ item.vg_name }}/{{ item.lv_name }}_snap || true {% endfor %} # Remove snapshots