Commit Graph

34 Commits

Author SHA1 Message Date
nain-F49FF806
6576fbc137
improve task key order (linting suggestion) 2023-03-19 06:19:47 -04:00
Stefan Morgenthaler
981d4f9072
Allow to installation via OS package manager or pip (#106)
* allow to installation via os package manager or pip

* Run a second time to install via package manager

* Check for EPEL if distro package requested.

* Split dep lists to avoid installing build deps when using distro pkg

Co-authored-by: Stefan Morgenthaler <dev@morgenthaler.at>
Co-authored-by: Manu <manu@snapdragon.cc>
2022-12-15 17:40:53 +01:00
e34f9311d8
Allow setting borg/borgmatic version (#107) 2022-11-22 20:54:31 +01:00
Manu
e1ba1d1364
Adjust Borgmatic arguments for v1.7.0 (#102) 2022-09-03 11:07:50 +02:00
Manuel Riel
1def545c86
Remove borgbase module, now separate (#100) 2022-05-13 11:17:47 +04:00
Luc Stroobant
740e9fe758
Upgrade pip and setuptools during installation. By @stroobl (#95) 2022-03-06 10:01:25 +04:00
Manu
8429ec5bc1
Support Borg 1.2.0 (#94)
* Move common Python packages to main.yml, install dependent Python packages first.
2022-02-28 10:28:37 +04:00
Manu
29d0c5f480
Unify all Borgmatic hooks in one variable (#93) 2022-02-20 14:42:09 +04:00
Manu
bb5b6afd4c
Add RHEL9 support, fix empty exclude option (#92) 2022-02-20 13:56:14 +04:00
Manu
cce04c3648
Use borgmatic_config_name for normal-sized cron job. Fixes #69 (#70) 2021-06-22 10:36:26 +04:00
Luc Stroobant
b99de011fc
Install borgmatic in virtualenv. By @stroobl. Fixes #60 (#68) 2021-06-21 21:58:51 +04:00
savoiringfaire
995c866c22
Don't specify full path in cron (#67) 2021-06-21 21:38:55 +04:00
Manu
3bd0b3d497
Add Manjaro support (by @verbumfeit), CI fixes. (#65)
Co-authored-by: verbumfeit <verbumfeit@tuta.io>
2021-04-20 14:53:35 +08:00
Manu
bebe44d080
Rebased: cron name setable by @debauer (#59)
See #51
2021-02-17 10:16:34 +08:00
Luc Stroobant
9193c18128
Use inventory_hostname as random seed to keep same Cron time. By @stroobl (#54) 2021-01-12 09:58:47 +08:00
Juan Orti Alcaine
e29c4df98c
Update packages installed in Fedora (#48)
Remove Fedora 31 as it's EOL and use the borgbackup, borgmatic and
cython packages from Fedora's repositories.
2020-12-07 19:52:40 +08:00
Dick Visser
5c67c0d935
Install packages in one step. By @dnmvisser (#43) 2020-11-27 07:46:55 +08:00
Philipp Rintz
ee6f93f71b
Support for multiple repositories. By @p-rintz (#41) 2020-11-18 11:41:57 +08:00
Jonas
54c270acdc
Update package list for Fedora 32 (#39)
* Add specific package lists for Fedora.

The python packages have been renamed in Fedora 32 (python3-* -> python-*).
To further support Fedora 31, the RedHat vars have been copied for this case.

* Enable molecule tests for Fedora.
2020-09-22 18:32:44 +08:00
em0lar
51e89d6e24
Make cron fully times configureable. By @em0lar 2020-07-15 11:40:38 +08:00
Manu
b97d42e71c
Make less frequent checking the default and correctly run check only. (#30) 2020-02-18 16:10:02 +08:00
Manu
e5738e9114
CentOS 8 support (#29)
* Load vars and tasks by OS family instaed of package manager. Fix Dockerfile for CentOS 8.
* Config for CentOS 8 and others
* Make monthly repo checking the default
2020-02-18 14:35:20 +08:00
Manu
5c883a734b
Add testing with Molecule/Ansible-lint, undo #9 (#26)
* Add testing with Molecule/Ansible-lint and fix linting errors
* Undo PR #9 for now (sorry)
2020-02-18 00:21:21 +08:00
Marien Fressinaud
85211377b6
Add a ssh_key_file optional argument (#21)
I already had an existing SSH key, with a different name. I wanted to be
able to use this one instead of creating another key, potentially used
for another server.
2020-01-29 15:29:33 +08:00
madhermit
0fcbef29a9 Allow per-app configurations (#9)
This PR allows for multiple per application borgmatic configurations as per this article: https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/
2019-10-24 13:05:19 +08:00
Philipp Rintz
f9e1fa9161 Auto-creation of Borgbase.com repositories (#7) 2019-09-23 18:30:22 +02:00
Manu
e809ec597d Add support for RPM-based distros (CentOS, RHEL, Fedora) 2019-05-27 18:12:13 +08:00
Manu
e30ce279c4 Improve Borgmatic cron-job names. 2019-05-15 12:44:10 +08:00
Manu
6787e98f08 Add option to check large repos only on Sunday. 2019-05-01 10:39:07 +08:00
Manu
3e78fd069d Ensure setuptools is updated, avoid updating too many packages. 2019-02-28 18:40:24 +08:00
Manu
78c7d3a99b Add 4 new config options. (#2) 2018-10-29 11:50:18 +08:00
Manu
667897daad Allow flexible name for Borgmatic config file. (#1) 2018-10-29 11:27:25 +08:00
Manu
ff191a5954 Set PATH in crontab file. 2018-10-11 15:08:57 +08:00
Manu
fecacf36d9 initial commit 2018-10-06 20:04:20 +08:00