homeserver/roles/mgrote_rsync/defaults/main.yml
2024-10-28 19:08:27 +01:00

15 lines
547 B
YAML

---
rsync_mirror_user_group: "{{ rsync_mirror_user }}"
rsync_mirror_user: rsync_mirror
rsync_mirror_bw_limit: "2m" # 2 Megabytes
rsync_mirror_timer: '*-*-* *:00/5' #(every 5 minutes)
rsync_mirror_private_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_private_key', 'notes') }}"
rsync_mirror_public_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_public_key', 'notes') }}"
rsync_mirror_dirs:
- src: /hdd_data/tmp # slashes beachten
dest: rsync_mirror@pbs.mgrote.net:/backup/pve5/tmp
## todo ssh konfig in datei statt inline?