Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 1b86f515 authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

feat: add m3nu_ansible_role_borgbackup_version to change version as we wish

parent 7c38d93f
No related branches found
No related tags found
No related merge requests found
Pipeline #8252 passed with warnings
......@@ -8,6 +8,11 @@ and the commits message folow the [Conventional Commits](https://www.conventiona
## [[1.1.1] - 2022-09-05](https://lab.frogg.it/lydra/yunohost/ansible-yunohost/-/releases/1.1.1)
### Added
- In role `ynh_backup`
- Ansible variable `m3nu_ansible_role_borgbackup_version`. The default version of the role is v0.9.3, but it can easily be changed by overriding the default value. You can check the releases of the role [here](https://github.com/borgbase/ansible-role-borgbackup).
### Fixed
- In role `ynh_backup`:
......
......@@ -24,6 +24,7 @@ ynh_backup:
# Variables for YunoHost BorgBackup
ynh_borg_backup_scheduled: False
m3nu_ansible_role_borgbackup_version: "v0.9.3"
borg_source_directories:
- "/home/yunohost.backup"
borg_repository: "/data/backup/borg_repository"
......
......@@ -18,7 +18,7 @@
# #
#-----------------------------------------------------------------------------#
- name: Download BorgBackup role on localhost
ansible.builtin.command: ansible-galaxy install m3nu.ansible_role_borgbackup,v0.9.3 -p "{{ _ansible_role_directory }}"
ansible.builtin.command: ansible-galaxy install m3nu.ansible_role_borgbackup,"{{ m3nu_ansible_role_borgbackup_version }}" -p "{{ _ansible_role_directory }}"
delegate_to: localhost
become: False
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment