From e36d239352ab13698dfe172ef0d699586294a660 Mon Sep 17 00:00:00 2001 From: Lionel Coupouchetty-Ramouchetty Date: Sun, 28 Mar 2021 16:28:41 +0200 Subject: [PATCH] tests: check that restic check works --- integration-tests-playbook.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/integration-tests-playbook.yml b/integration-tests-playbook.yml index f7fd621..577d414 100644 --- a/integration-tests-playbook.yml +++ b/integration-tests-playbook.yml @@ -128,3 +128,14 @@ that: _restic_snapshots.stdout | length > 0 fail_msg: No snapshot was found in auto_restic repository success_msg: Found at least 1 snapshot in repository +- name: check that a check works + hosts: all + become: true + vars: + restic_username: resticbackup + restic_password: APassphrase + tasks: + - name: start a check + service: + name: restic_check + state: started