Commit graph

49 commits

Author SHA1 Message Date
phil 701b4f82f0 Create borg repo directory on storagebox 2023-05-08 14:36:32 +02:00
phil 9b5526b47e Fix ssh config path 2023-05-08 11:54:10 +02:00
phil f4152f9a5e Create SSH config for borg providers 2023-05-08 11:21:21 +02:00
phil fbdce3166f Add tasks for Hetzner Storagebox 2023-05-08 10:36:42 +02:00
phil b8433bb4e0 Enable command line options for repo creation 2023-05-08 10:23:39 +02:00
phil 9952fcf3c6 Remove cron configuration
The Debian package ships a systemd timer
2023-04-18 21:58:03 +02:00
phil 7e0278debb Create borgmatic configuration directory is not exists 2023-04-09 12:21:35 +02:00
phil 1aeb58245e Add hint about vault 2023-04-09 12:11:35 +02:00
phil 093222dd21 Fix deb repository path
Update cache before installing package
2023-04-09 11:56:45 +02:00
phil abda9b788c Install backports packages 2023-04-09 11:48:20 +02:00
phil 43dbe7c8cb Remove misplaced loop 2023-04-09 11:26:45 +02:00
phil f46724461b Ignore errors in export tasks
Doesn't work with when conditional (is defined) because the conditional
is evaluated after the loop
2023-04-09 11:25:06 +02:00
phil a984bbbce9 Fix spacing 2023-04-09 11:24:49 +02:00
phil 96346896fa Add tasks to export borgbase borg repo keys 2023-04-09 10:44:51 +02:00
phil dab13a2388 Read borgbase repository dynamically
No need to configure it in host_vars
2023-04-09 10:41:54 +02:00
phil 303b738f99 Add hostname info to exported key 2023-04-09 10:23:41 +02:00
phil 848ee79a69 Add key export path 2023-04-09 10:22:21 +02:00
phil fe167ddec3 Fix ssh config path 2023-04-09 10:18:42 +02:00
phil d1320c3c98 Fix key export path 2023-04-09 10:18:11 +02:00
phil 3746f9fb45 Fix path to keyfile 2023-04-09 10:15:45 +02:00
phil c6c4304d9e Remove repository label from borgmatic configuration
Only supported with borgmatic >= 1.7.10
We can still use it for borg key export.
2023-04-09 10:10:08 +02:00
phil 202d6c3ef9 Enable configuration of borg user 2023-04-09 10:05:37 +02:00
phil dfbcbf3229 Remove unused borg_user variable 2023-04-09 09:57:34 +02:00
phil bd333305df Add credits 2023-04-09 09:56:01 +02:00
phil 5f699bf264 Add note about requirements 2023-04-09 09:54:09 +02:00
phil f5cb19eddd Add README 2023-04-09 09:51:26 +02:00
phil 73d0a45c1b Delete unused variables 2023-04-09 09:51:13 +02:00
phil dee49f5405 Enable only error output for cron job 2023-04-09 09:27:58 +02:00
phil f4d6366253 Add bash completion and labels to repositories 2023-04-09 09:25:16 +02:00
phil 72555d15c4 Fix copy of exported keys 2023-04-08 23:44:07 +02:00
phil 4e6628e86c Fetch exported keys 2023-04-08 23:20:21 +02:00
phil 3dd71eac1d WIP: Export repo key 2023-04-08 23:08:58 +02:00
phil 00f0b60613 WIP: Export borg repo key 2023-04-08 23:02:47 +02:00
phil d7222d3897 Fix variable name 2023-04-08 22:34:19 +02:00
phil 2e76b13610 Add SSH configuration 2023-04-08 22:33:17 +02:00
phil 90153baf93 Change default key name
Sometimes it doesn't work with the @ sign
2023-04-08 21:55:23 +02:00
phil 5cbe4b5e4e Add python module 2023-04-08 21:54:51 +02:00
phil 4d7f7be683 Fix responses 2023-04-08 21:53:16 +02:00
phil 20fc1825e0 Init repo 2023-04-08 21:52:23 +02:00
phil 4fc7125b16 Add more variables 2023-04-08 21:37:24 +02:00
phil 7ef13a36f2 Add set_fact 2023-04-08 21:33:57 +02:00
phil 6c78f3e8ad Fix key name 2023-04-08 21:21:07 +02:00
phil d53f90be10 Fiy key path 2023-04-08 21:16:17 +02:00
phil 36cf1d10a9 Fix keyname 2023-04-08 21:12:46 +02:00
phil ce5f7104f9 Add defaults and more tasks 2023-04-08 21:07:04 +02:00
phil 0c3f79c02c Fix module name 2023-04-08 19:36:31 +02:00
phil 08d05ebf67 Fix dependencies 2023-04-08 19:25:45 +02:00
phil a05d1c8c24 Fix dependencies 2023-04-08 19:23:45 +02:00
phil 2d8d83aedc Initial commit 2023-04-08 19:17:38 +02:00