1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/restic_ynh.git synced 2024-09-03 20:16:22 +02:00

tests: check that restic check works

This commit is contained in:
Lionel Coupouchetty-Ramouchetty 2021-03-28 16:28:41 +02:00
parent ca6dd548e7
commit e36d239352

View file

@ -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