Commit graph

45 commits

Author SHA1 Message Date
phil 09cf947078 Install jq on all backup hosts
needed for prom exporter
2023-12-02 22:03:01 +01:00
phil 6ee490698d Increase timeout - the expect module has a default timeout
of 30s
2023-12-02 22:02:32 +01:00
phil c7896338ed Allow to wait longer for unresponsive hosts 2023-12-02 09:40:16 +01:00
phil be1cf37ca3 Send backup status via exporter to Prometheus 2023-12-02 09:18:19 +01:00
phil 2a6b2273a2 Fix typo 2023-10-17 03:52:16 +02:00
phil 3c93c4f86c Install rsync to save a local copy of keys 2023-10-01 11:55:39 +02:00
phil 5f5fab84bb Fixes 2023-05-08 15:29:47 +02:00
phil 7a742fd76a Add key comment 2023-05-08 15:29:17 +02:00
phil 468a4aadbb Fix Ansible Module 2023-05-08 15:28:47 +02:00
phil 0b53f0291b Fix: Run tasks at localhost not on storagebox 2023-05-08 14:39:32 +02:00
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 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 96346896fa Add tasks to export borgbase borg repo keys 2023-04-09 10:44:51 +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 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 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 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 2d8d83aedc Initial commit 2023-04-08 19:17:38 +02:00