borgbase / ansible-role-borgbackup

Ansible role to set up Borg and Borgmatic
MIT License
221 stars 98 forks source link

Explicitly declare dependencies #103

Open cchaudier opened 2 years ago

cchaudier commented 2 years ago

As a follow-up to the issue #101 can you set the versions of the dependencies? First of all borgbackup and borgmatic.

This is to prevent unexpected changes in cli. This is a good practice promoted by the 12 factors.

I think you can do this here whit this code :

borg_python_packages:
  - borgbackup==1.2.2
  - borgmatic==1.7.1
m3nu commented 2 years ago

Unfortunately not because some OS use old Python versions and will pull in an older version.

Sebclem commented 1 year ago

I think this can be closed as #107 is a workaround