Commit graph

3 commits

Author SHA1 Message Date
524bfe4fd4
lvm_self_backup: Increase timeout and show progress information
This sets the timeout to 20h, because full backups usually take longer and also enabled progress logs, to see if the job is actually still doing something.
2021-10-06 00:00:30 +02:00
d6f99396c3
lvm_self_backup: Add timeout and mount/umount tasks to systemd service
This patch adds a timeout to notice a failure, when the container hangs and does not do anything. This happened already and with moving the mount and unmount and snapshot management to the service file, we ensure that they are properly removed after a timeout.

Thanks to @Histalek for the service config (https://git.histalek.de/histalek-de/infrastructure/-/blob/main/roles/lvm_backup/templates/backup-lvm.service)
2021-10-05 16:49:34 +02:00
a47fde9c9c
Rename roles to underscore
This patch renames all roles with a `-` to `_`, to comply with the ansible-lint rule 106. As collection roles are now also limited to these symbols and this will make it easier to move them later.
2020-09-26 18:12:59 +02:00
Renamed from roles/lvm-self-backup/templates/backup-lvm.service (Browse further)