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:
parent
ca6dd548e7
commit
e36d239352
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue