Commit graph

47 commits

Author SHA1 Message Date
L3D
5607345762
delete cronjobs when they should be deleted 2022-01-18 18:01:39 +01:00
L3D
390c780b24
Skip linting for selected tasks 2022-01-10 14:31:25 +01:00
L3D
75e78c5876
Adding task name prefix to task 2022-01-10 14:19:53 +01:00
L3D
9b8962cc5f
in case of systemd timers are used, remove possible installed cronjobs 2022-01-10 12:05:14 +01:00
L3D
770598ffca
rename some tasks 2022-01-07 20:13:57 +01:00
L3D
25ee60fb5a
start making this role compatible with ansible 5 2022-01-07 20:13:43 +01:00
L3D
b0c24fed30
add missing sudo permissions 2021-10-13 23:35:37 +02:00
L3D
67294c1489
improve restic self-update handling 2021-08-03 23:16:34 +02:00
L3D
d238ef67d2
Review changes and fix some issues 2021-08-02 14:13:30 +02:00
L3D
e0f3f5c87c
improve scheduling of backups via cron or timers
improves the handling and differentiation of cronjobs and systemd timers.
Rename the ``restic_create_cron`` variable to``restic_create_schedule``.
Now new: ``restic_schedule_type: "systemd"``.

RESOLVE #22
2021-08-02 01:09:02 +02:00
L3D
1870c78534
restart restic timer if something changed 2021-07-07 11:20:37 +02:00
L3D
94aae0e3b9
improve error message 2021-07-05 16:18:46 +02:00
L3D
f385bfcb73
Start improving systemd 2021-06-15 19:48:23 +02:00
L3D
ff80731b11
simplify versionscheck 2021-05-08 23:37:29 +02:00
L3D
b9406d0185
using cronjob as fallback 2021-04-29 16:33:31 +02:00
L3D
0a3637f1d4
update restic systemd init 2021-04-29 15:13:19 +02:00
L3D
93b9de9826
implement systemd timer 2021-04-29 14:58:12 +02:00
L3D
372c7ce57b
add basic versionscheck and split role into better parts 2021-04-29 13:48:02 +02:00
L3D
e297345a34
change how to ged os specific vars 2021-03-23 16:16:20 +01:00
Matthias Leutenegger
790dae3ef4
change: backups can be defined as dicts (#28)
* convert

* use loop

* clean

* combine

* change: reformat dict

* fix

* fix2

* update readme
2020-11-13 10:01:05 +01:00
Luca Zorzi
dabf0420d7
fix: error when trying to re-initialize b2 repository (#22)
* Fixed error when trying to re-initialize b2 repository

* Added changelog entry
2020-11-12 18:42:56 +01:00
Luca Zorzi
308b068f20
Added support for Backblaze B2 (#18)
authored-by: Luca Zorzi <luca@lucazorzi.net>
2020-09-08 10:17:46 +02:00
Matthias Leutenegger
921f4197f8
ADD: Check that restic has been installed (#16)
* ADD: Check that restic has been installed

* FIX: lint

* Update CHANGELOG.md

* FIX: multiline
2020-08-30 22:04:11 +02:00
Matthias Leutenegger
bcca20727f FIX: lint 2020-06-02 19:47:37 +02:00
Matthias Leutenegger
8a0a4d91c4 FIX: region 2020-06-02 19:45:52 +02:00
Matthias Leutenegger
f500327f59 FIX: init 2020-06-02 15:58:43 +02:00
Matthias Leutenegger
9260b88a97
Update Linux.yml 2020-06-02 14:09:43 +02:00
Matthias Leutenegger
05b1758e82
Update configure.yml 2020-06-02 14:00:05 +02:00
Matthias Leutenegger
145f424846
Update configure.yml 2020-06-02 13:56:37 +02:00
Dick Visser
c7a404b61c
fix crontab entries 2020-04-06 15:33:07 +02:00
Matthias Leutenegger
fa2404cbb2 Credential files are ctually created 2019-09-11 11:32:07 +02:00
Matthias Leutenegger
24bfc275d0 add restic_url to defaults 2019-08-17 09:25:37 +02:00
Matthias Leutenegger
ac0e1509ce Adds nolog 2019-08-15 14:52:43 +02:00
Matthias Leutenegger
6257b6ae1c lint 2019-08-15 14:51:42 +02:00
Matthias Leutenegger
3d89fa80c6 adds cronjobs for Linux, closes #3 2019-08-15 14:47:55 +02:00
Matthias Leutenegger
06b7ab9b36 restructure 2019-08-15 13:07:53 +02:00
Matthias Leutenegger
d1c5da9f31 do not compare to literal True/False 2019-08-15 10:00:45 +02:00
Matthias Leutenegger
1f12e41b86 do not compare empty string 2019-08-15 09:59:53 +02:00
Matthias Leutenegger
9f9ce6ca61 fixed line lengths 2019-08-15 08:36:57 +02:00
Matthias Leutenegger
2aa5a9df6f fixed tabs 2019-08-14 17:02:16 +02:00
Matthias Leutenegger
5ba0cd16f4 fixed some linting problems 2019-08-14 16:59:32 +02:00
Matthias Leutenegger
d727654d27 Script is system specific 2019-08-14 16:03:03 +02:00
Matthias Leutenegger
af39ee0ec2 Adds distribution specific setup 2019-08-14 16:02:02 +02:00
Matthias Leutenegger
6721b67d46 Adds backup script to execute manual Backup 2019-08-14 16:00:22 +02:00
Matthias Leutenegger
fc5ef9190e initializing repository 2019-08-13 13:52:25 +02:00
Matthias Leutenegger
3a8ac24b1e better described TODO 2019-08-13 13:29:21 +02:00
Matthias Leutenegger
4d311e5727 installing binary 2019-08-13 13:26:40 +02:00