diff --git a/molecule/default/test_restic/tasks/test_backup_files.yml b/molecule/default/test_restic/tasks/test_backup_files.yml index 25c6349..c6fd0e8 100644 --- a/molecule/default/test_restic/tasks/test_backup_files.yml +++ b/molecule/default/test_restic/tasks/test_backup_files.yml @@ -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 diff --git a/vars/main.yml b/vars/main.yml index d6f8578..914f9d8 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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'