Frank Dornheim
6376bbf2fb
Removed: borgmatic_initialization_repo
2023-03-14 06:40:04 +01:00
Frank Dornheim
64674c93ad
Removed: borgmatic_initialization_repo
2023-03-14 06:39:51 +01:00
Frank Dornheim
f3a3838776
Removed: borgmatic_initialization_repo
2023-03-14 06:39:07 +01:00
Frank Dornheim
8dfac41011
renamed backup_ssh_command and backup_ssh_key_file to borg_ssh_command and borg_ssh_key_file
2023-03-13 22:11:16 +01:00
Frank Dornheim
73dcfbf7fc
Add link to Article
2023-03-13 22:10:21 +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
2eb08207ac
Remove 'su - {{ borgbackup_user }} -c' to execute the borgmatic by the right user
2023-03-11 23:33:53 +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
dc79c0a287
renamed id_rsa to backup
2023-03-11 23:13:38 +01:00
Frank Dornheim
ac07e91814
Add borg_ssh_key_type
2023-03-11 23:12:46 +01:00
Frank Dornheim
644a33f974
Set allways the borg_ssh_key_file and borg_ssh_command to load the right ssh-key. Add borg_ssh_key_type to select the key type by user
2023-03-11 23:12:07 +01:00
Frank Dornheim
4d385e8fe8
Add comments to borg_ssh_key_file and borg_ssh_key_type
2023-03-11 23:09:43 +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
3d152d52d6
Rename backup_ssh_command to borg_ssh_command, tis was a double definition
2023-03-11 22:04:42 +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
d21ae6cf5f
The initialization of the repository must be activated and does not take place automatically.
2023-03-11 13:43:38 +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
Frank Dornheim
2200677f5e
set coverage back to: m3nu.ansible_role_borgbackup
2023-03-11 12:42:20 +01:00
Frank Dornheim
bcd4eb171d
Add description to install_backup
2023-03-11 12:40:37 +01:00
Frank Dornheim
68f6566c4c
Add description to install_backup
2023-03-11 12:40:37 +01:00
Manu
3944aa17b8
No auto init
2023-03-11 11:27:37 +00:00
Manu
e3b22f1849
Update Python version for testing
2023-03-11 11:11:00 +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
1a3131cefc
add new parameters for tests
2023-03-10 17:54:49 +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
05baedc841
Add variable borg_cron_package to install the cron-packages in case of using timer: cron
2023-03-08 15:14:36 +01:00
Frank Dornheim
252850064d
Add description to borgmatic_timer_cron_name and borgmatic_timer
2023-03-08 15:11:47 +01:00
Frank Dornheim
dd0521b816
- renamed borgmatic_cron_name to borgmatic_timer_cron_name to be more convergent.
...
- Change recommendations implemented by m3nu so that creation of a timer (systemd or cron) is optional and can be selected via borgmatic_timer.
2023-03-08 15:06:47 +01:00
Frank Dornheim
de797a3b48
add:
...
- borgmatic_timer_systemd: true
readd:
- borgmatic_cron_name: "borgmatic"
2023-03-08 14:31:55 +01:00
Frank Dornheim
cda39e7314
add option: borgmatic_timer
2023-03-08 14:28:49 +01:00
Frank Dornheim
cb52a83ff1
fix letter turner
2023-03-05 21:54:14 +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
fa719dfce1
- "borg_source_directories" is not longer a required Argument
...
- add "borg_keys_directory" to load key from Service user during starting borgmatic by sudo
2023-03-05 14:05:29 +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
c9ce5d4856
Created arguments_specs.yml
2023-03-05 13:48:15 +01:00