update restic testing

This commit is contained in:
L3D 2021-04-29 17:11:28 +02:00
parent bc8a36ea34
commit bee3cee067
No known key found for this signature in database
GPG key ID: CD08445BFF4313D1
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
---
- name: Stat test backup file
stat:
path: ~/restic/backup-test.sh
path: /opt/restic/backup-test.sh
register: test_file
- name: Check that the test backup file exists
assert:
@ -10,7 +10,7 @@
- name: Stat test_stdin backup file
stat:
path: ~/restic/backup-test_stdin.sh
path: /opt/restic/backup-test_stdin.sh
register: test_stdin_file
- name: Check that the test_stdin backup file exists
assert:
@ -20,7 +20,7 @@
- name: Run the backup scripts
shell: "./{{ item }}"
args:
chdir: ~/restic/
chdir: /opt/restic/
with_items:
- backup-dicttest.sh
- backup-test.sh

View file

@ -10,5 +10,5 @@ restic_os_variables:
paths:
- 'vars'
playbook_version_number: 6 # should be int
playbook_version_number: 7 # should be int
playbook_version_path: 'do1jlr.restic.version'