Commit graph

38 commits

Author SHA1 Message Date
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