summaryrefslogtreecommitdiffstats
path: root/host_vars/git.home.arpa.yml.example
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
commit57771eb32fc30bafc84b00039cb2215e4d0fcea1 (patch)
tree869bbd8b270f22c6c02460b20d3146dcc04e5be3 /host_vars/git.home.arpa.yml.example
parent01260c2ab7c79c1272d4b41e83e57c78595e430f (diff)
Fix restic install and add backup role
Co-Authored-By: Claude.ai
Diffstat (limited to 'host_vars/git.home.arpa.yml.example')
-rw-r--r--host_vars/git.home.arpa.yml.example9
1 files changed, 9 insertions, 0 deletions
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"