mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-11-05 11:33:28 +01:00
update restic testing
This commit is contained in:
parent
bc8a36ea34
commit
bee3cee067
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue