homeserver/roles/mgrote_rsync/defaults/main.yml
Michael Grote 72397a7eee
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 8s
ansible-lint / Ansible Lint (pull_request) Failing after 1m58s
dfg
2024-10-28 19:01:39 +01:00

15 lines
586 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_privatekey: "{{ 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?