restic: Add stack
Adapted from cloudserve-infrastructure, implements a backup stack using restic. The actual backups have to be implemented by individual other roles but this sets up initialization, pruning and checking of a repository.
This commit is contained in:
parent
93876315ca
commit
86d49a756b
7 changed files with 146 additions and 0 deletions
8
roles/restic/vars/main.yml
Normal file
8
roles/restic/vars/main.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
stack_name: restic
|
||||
|
||||
stack_image: "mazzolino/restic"
|
||||
|
||||
stack_compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||
|
||||
backup_enable: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue