borgbase / ansible-role-borgbackup

Ansible role to set up Borg and Borgmatic
MIT License
226 stars 99 forks source link

Docker support #140

Open terroirman opened 1 year ago

terroirman commented 1 year ago

I wanted both the Ansible and Docker benefits when using Borgmatic. So I updated this Ansible role to add a new install method using Docker (using this upstream image : https://github.com/borgmatic-collective/docker-borgmatic).

It was mostly a challenge for me to see if I could make it work the way I wanted and how it was to contribute to a Ansible role. Not sure this kind of functionality was ever made by anyone. Anyhow, let me know if it can be useful. Also, comments would be appreciated even if it won't be used!