mirror of
https://github.com/roles-ansible/ansible_role_restic.git
synced 2024-12-11 23:41:32 +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
|
- name: Stat test backup file
|
||||||
stat:
|
stat:
|
||||||
path: ~/restic/backup-test.sh
|
path: /opt/restic/backup-test.sh
|
||||||
register: test_file
|
register: test_file
|
||||||
- name: Check that the test backup file exists
|
- name: Check that the test backup file exists
|
||||||
assert:
|
assert:
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
- name: Stat test_stdin backup file
|
- name: Stat test_stdin backup file
|
||||||
stat:
|
stat:
|
||||||
path: ~/restic/backup-test_stdin.sh
|
path: /opt/restic/backup-test_stdin.sh
|
||||||
register: test_stdin_file
|
register: test_stdin_file
|
||||||
- name: Check that the test_stdin backup file exists
|
- name: Check that the test_stdin backup file exists
|
||||||
assert:
|
assert:
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
- name: Run the backup scripts
|
- name: Run the backup scripts
|
||||||
shell: "./{{ item }}"
|
shell: "./{{ item }}"
|
||||||
args:
|
args:
|
||||||
chdir: ~/restic/
|
chdir: /opt/restic/
|
||||||
with_items:
|
with_items:
|
||||||
- backup-dicttest.sh
|
- backup-dicttest.sh
|
||||||
- backup-test.sh
|
- backup-test.sh
|
||||||
|
|
|
@ -10,5 +10,5 @@ restic_os_variables:
|
||||||
paths:
|
paths:
|
||||||
- 'vars'
|
- 'vars'
|
||||||
|
|
||||||
playbook_version_number: 6 # should be int
|
playbook_version_number: 7 # should be int
|
||||||
playbook_version_path: 'do1jlr.restic.version'
|
playbook_version_path: 'do1jlr.restic.version'
|
||||||
|
|
Loading…
Reference in a new issue