diff --git a/README.md b/README.md index 13d664c..5c205ae 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ ansible-galaxy install arillso.restic | Name | Default | Description | | ---------------------- | -------------------- | --------------------------------------------------------------------------- | | `restic_url` | `undefined` | The URL to download restic from. Use this variable to overwrite the default | -| `restic_version` | `'0.10.0'` | The version of Restic to install | +| `restic_version` | `'0.11.0'` | The version of Restic to install | | `restic_download_path` | `'/opt/restic'` | Download location for the restic binary | | `restic_install_path` | `'/usr/local/bin'` | Install location for the restic binary | | `restic_script_dir` | `'~/restic'` | Location of the generated backup scripts | diff --git a/defaults/main.yml b/defaults/main.yml index ebb6643..2be548e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ --- # defaults file for skeleton restic_url: '{{ restic_url_default }}' -restic_version: '0.10.0' +restic_version: '0.11.0' restic_download_path: '/opt/restic' restic_install_path: '/usr/bin' restic_script_dir: '~/restic' diff --git a/molecule/default/test_restic/tasks/test_backup_files.yml b/molecule/default/test_restic/tasks/test_backup_files.yml index c2e6f85..b3061f4 100644 --- a/molecule/default/test_restic/tasks/test_backup_files.yml +++ b/molecule/default/test_restic/tasks/test_backup_files.yml @@ -16,3 +16,11 @@ assert: that: - test_stdin_file.stat.exists + + - name: Run the backup scripts + shell: "./{{ item }}" + args: + chdir: ~/restic/ + with_items: + - backup-test.sh + - backup-test_stdin.sh