Frank Dornheim
1186cf1943
removed static pointing to ~/.ssh/backup SSH private key
2023-03-19 11:36:43 +01:00
Frank Dornheim
d69d4860bb
remove conditional checks
2023-03-19 01:05:33 +01:00
Manu
a31a63df39
Forgot to install Cron
2023-03-18 18:52:35 +00:00
Manu
a39e889ba8
Try to find services in ansible_facts
2023-03-18 17:32:27 +00:00
Frank Dornheim
6b88b7c97e
remove debug
2023-03-18 14:56:41 +01:00
Frank Dornheim
368d8ec893
polishing
2023-03-18 12:43:34 +01:00
Frank Dornheim
dfeec30910
revert changes
2023-03-15 21:06:16 +01:00
Frank Dornheim
6376bbf2fb
Removed: borgmatic_initialization_repo
2023-03-14 06:40:04 +01:00
Frank Dornheim
a29ec5b093
Add Check frequency, therefore, we no longer need to distinguish between normal and large repos
2023-03-13 22:08:06 +01:00
Frank Dornheim
35e7481da2
Print out key if borgmatic_initialization_repo is false
2023-03-11 23:29:27 +01:00
Frank Dornheim
20f5a6f7b2
generate ssh-keys (backup and backup.pub) and add better explanation
2023-03-11 23:16:06 +01:00
Frank Dornheim
768c6becd4
remove copy ssh-keys and cert parts
2023-03-11 22:08:49 +01:00
Frank Dornheim
ed37bb57c3
Renamed backup_repository to borg_repository and add better explanations
2023-03-11 22:07:45 +01:00
Frank Dornheim
c810423b30
Removed install_backup as var (bool) to prevent that this role run
2023-03-11 14:05:11 +01:00
Frank Dornheim
0e109849e7
The initialization of the repository must be activated and does not take place automatically.
2023-03-11 13:40:17 +01:00
Manu
3944aa17b8
No auto init
2023-03-11 11:27:37 +00:00
Frank Dornheim
3a80957fe8
add example for service account
2023-03-10 18:31:30 +01:00
Frank Dornheim
2e8fc5e266
Refactored
2023-03-10 18:24:49 +01:00
Frank Dornheim
cd7a054f98
Refactored
2023-03-10 18:24:27 +01:00
Frank Dornheim
c80257320f
renamed tasks/03_configure.yml to tasks/04_create_links_to_borg_and_borgmatic.yml
2023-03-10 18:24:02 +01:00
Frank Dornheim
d992c83e49
Refactored
2023-03-10 18:14:40 +01:00
Frank Dornheim
03c9f4ff11
Refactored
2023-03-10 18:12:09 +01:00
Frank Dornheim
926a98840c
Refactored: Check for ssh-key if not present, genereate them.
2023-03-10 18:10:54 +01:00
Frank Dornheim
4c2377e188
Switch created to perform the backup as root or service account. If a service account is to be used, it will be created.
2023-03-10 17:58:30 +01:00
Frank Dornheim
cdd541590f
Add comments for running backup with service account
2023-03-10 17:53:07 +01:00
Frank Dornheim
ea619be53f
reworked timer install logic
2023-03-08 15:20:04 +01:00
Frank Dornheim
7414f85e39
reworked timer install logic
2023-03-08 15:19:10 +01:00
Frank Dornheim
a09650c8f2
fix ansible-lint errors and warnings
2023-03-05 21:41:06 +01:00
Frank Dornheim
40b81c759b
cleanup
2023-03-05 14:18:48 +01:00
Frank Dornheim
173e16b2c4
Add borgmatic_initialization_repo (bool) as option to disable init of repo
2023-03-05 14:18:18 +01:00
Frank Dornheim
5ac571438e
cleanup: user backup_user
2023-03-05 14:03:06 +01:00
Frank Dornheim
b64bc44b57
restructure role add import logic
2023-03-05 14:02:09 +01:00
Frank Dornheim
8b67e74440
Role restructured:
...
- if needed creation of a service user incl. creation of the ssh-key,
- add the ssh key to authorized_keys,
- auto init of the repos,
- creation and start of systemd timer and services and
- installation of the Docker helperscript.
2023-03-05 13:52:02 +01:00
Frank Dornheim
6d86c53e8a
add full path
2023-02-25 20:17:21 +01: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
Sébastien Clément
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
michalroxorpl
aa5830aca0
Introduce support for Archlinux. By @michalroxorpl ( #79 )
2021-09-23 14:07:49 +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