summaryrefslogtreecommitdiffstats
path: root/host_vars
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-21 12:41:07 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-21 12:46:53 +0200
commit0be7583911bfe15276b736697caebb3752da56b6 (patch)
tree869bbd8b270f22c6c02460b20d3146dcc04e5be3 /host_vars
parent34157b435c2103ecb87c26c1368c6ccf7b3d6410 (diff)
Fix restic install and add backup role
Co-Authored-By: Claude.ai
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/git.home.arpa.ymlbin566 -> 977 bytes
-rw-r--r--host_vars/git.home.arpa.yml.example9
2 files changed, 9 insertions, 0 deletions
diff --git a/host_vars/git.home.arpa.yml b/host_vars/git.home.arpa.yml
index bb002c3f..3dad37f5 100644
--- a/host_vars/git.home.arpa.yml
+++ b/host_vars/git.home.arpa.yml
Binary files differ
diff --git a/host_vars/git.home.arpa.yml.example b/host_vars/git.home.arpa.yml.example
index 45b037b5..9eb71e29 100644
--- a/host_vars/git.home.arpa.yml.example
+++ b/host_vars/git.home.arpa.yml.example
@@ -18,3 +18,12 @@ cgit_hostname: "git.home.arpa"
cgit_title: "git.example.com"
cgit_description: "git repositories"
cgit_ssh_user: "git"
+
+backup_name: "git"
+backup_paths:
+ - "/srv/git"
+backup_cron_schedule: "0 0 * * 0"
+backup_repo: "s3:http://{{ hostvars['rpi5.local'].network_ipv4_address }}:3900/backups"
+backup_access_key_id: "{{ hostvars['rpi5.local'].garage_access_key_id }}"
+backup_secret_access_key: "{{ hostvars['rpi5.local'].garage_secret_access_key }}"
+backup_password: "changeme"