mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-12-11 20:30:18 +01:00
change: bump default restic version to 0.11.0
(#27)
* change: update default restic version * add: test the backups to run
This commit is contained in:
parent
e57e81a115
commit
649f6aae0c
3 changed files with 10 additions and 2 deletions
|
@ -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 |
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue