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

15 lines
587 B
YAML

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