mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
add actual repos and backups to test
This commit is contained in:
parent
06b7ab9b36
commit
7ffeb6fe8b
1 changed files with 24 additions and 0 deletions
|
@ -3,3 +3,27 @@
|
||||||
hosts: all
|
hosts: all
|
||||||
roles:
|
roles:
|
||||||
- role: arillso.restic
|
- role: arillso.restic
|
||||||
|
vars:
|
||||||
|
restic_download_path: ~/restic
|
||||||
|
restic_install_path: ~/restic
|
||||||
|
restic_repos:
|
||||||
|
local:
|
||||||
|
location: /backup
|
||||||
|
password: securepassword1
|
||||||
|
init: true
|
||||||
|
restic_backups:
|
||||||
|
- name: test
|
||||||
|
src: /home
|
||||||
|
repo: local
|
||||||
|
keep_last: 4
|
||||||
|
keep_tag: deployment
|
||||||
|
- name: test_stdin
|
||||||
|
repo: local
|
||||||
|
stdin: true
|
||||||
|
stdin_cmd: echo "this comes from stdin"
|
||||||
|
stdin_filename: stdin.txt
|
||||||
|
keep_last: 2
|
||||||
|
keep_hourly: 24
|
||||||
|
keep_daily: 7
|
||||||
|
keep_monthly: 12
|
||||||
|
keep_yearly: 5
|
||||||
|
|
Loading…
Reference in a new issue