Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added restic_options under restic_repos #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Available variables are listed below, along with default values (see
[defaults/main.yml](defaults/main.yml)):

```
restic_version: '0.15.1'
restic_version: '0.17.3'
restic_install_path: '/usr/local/bin'
restic_password_file_path: '/root'
restic_discard_cron_stdout: false
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
restic_version: '0.15.1'
restic_version: '0.17.3'
restic_install_path: '/usr/local/bin'
restic_password_file_path: '/root'
restic_discard_cron_stdout: false
Expand Down
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ galaxy_info:
- bionic
- focal
- jammy
- noble
- name: FreeBSD
versions:
- 12.3
Expand Down
2 changes: 1 addition & 1 deletion templates/restic-wrapper.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export {{ k | upper }}={{ v | trim | quote }}
{% endfor %}
{% endif %}

"{{ restic_install_path }}/restic" {% if item.legacy_list_objects is defined %}-o s3.list-objects-v1={{ item.legacy_list_objects }} {% endif %}"$@"
"{{ restic_install_path }}/restic" {% if item.restic_options is defined %}-o {{ item.restic_options }} {% endif %} {% if item.legacy_list_objects is defined %}-o s3.list-objects-v1={{ item.legacy_list_objects }} {% endif %}"$@"