implemented backup of everything before docker update

This commit is contained in:
2023-12-27 22:12:19 +01:00
parent ceffbc38da
commit a188d1025a
6 changed files with 24 additions and 3 deletions

View File

@@ -20,6 +20,13 @@
msg: "Warning: Repository is not reachable."
when: git_result is defined and git_result.failed is defined and run_once_cleanup_failed_docker_backups is not defined
- name: configure backup-docker-to-local-everything.service
template:
src: backup-docker-to-local-everything.service.j2
dest: /etc/systemd/system/backup-docker-to-local-everything.service
notify: reload backup-docker-to-local-everything.service
when: run_once_backup_docker_to_local is not defined
- name: configure backup-docker-to-local.service
template:
src: backup-docker-to-local.service.j2