diff --git a/README.md b/README.md index d397dda..628468e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/defaults/main.yml b/defaults/main.yml index 7168c2e..e04e2f3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/meta/main.yml b/meta/main.yml index 7e0b129..d8b9e57 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -21,6 +21,7 @@ galaxy_info: - bionic - focal - jammy + - noble - name: FreeBSD versions: - 12.3 diff --git a/templates/restic-wrapper.sh.j2 b/templates/restic-wrapper.sh.j2 index 63a240c..9be136e 100644 --- a/templates/restic-wrapper.sh.j2 +++ b/templates/restic-wrapper.sh.j2 @@ -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 %}"$@"