Add backup to node003

This commit is contained in:
Tobias Reisinger 2023-12-16 19:22:53 +01:00
parent 3549901946
commit 7638b24bfe
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 35 additions and 9 deletions
roles/backup/vars

View file

@ -23,6 +23,9 @@ backup_compose:
app:
build:
context: .
entrypoint:
- /usr/bin/restic
- --retry-lock=1m
restart: never
hostname: "{{ ansible_facts.hostname }}"
volumes: "{{ host_backup.backup.volumes | map_backup_volumes }}"