From 7ffeb6fe8bad2b2215ca47425e26c1035199ebcd Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Thu, 15 Aug 2019 13:11:15 +0200 Subject: [PATCH] add actual repos and backups to test --- molecule/default/playbook.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/molecule/default/playbook.yml b/molecule/default/playbook.yml index d5a32c4..39c09a3 100644 --- a/molecule/default/playbook.yml +++ b/molecule/default/playbook.yml @@ -3,3 +3,27 @@ hosts: all roles: - 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