Add backup to node003
This commit is contained in:
parent
3549901946
commit
7638b24bfe
4 changed files with 35 additions and 9 deletions
roles/backup/vars
|
@ -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 }}"
|
||||
|
|
Reference in a new issue