borgbase / ansible-role-borgbackup

Ansible role to set up Borg and Borgmatic
MIT License
229 stars 102 forks source link

Allow specify borg/borgmon version #107

Closed Sebclem closed 2 years ago

Sebclem commented 2 years ago

This little PR is here to add the ability to specify the borg / borgmatic version to install.

This make the role able to upgrade / downgrade borg and borgmatic. By default this role, will behave like before (Use last borg/borgmatic version on first install and don't upgrade on playbook re-run)

Sebclem commented 2 years ago

@m3nu Can you take a look a this ?

m3nu commented 2 years ago

Hi, sorry for the delay. Had this flagged, but didn't get to it yet. Looks fine. Good to merge after the tests are done.

m3nu commented 2 years ago

Can you help to make the tests happy? Just replace include with include_tasks here in tasks/main.yml

- name: Run OS-specific tasks
  include: "{{ item }}"
Sebclem commented 2 years ago

Should be good now :+1: