homeserver/roles/mgrote_rsync/defaults/main.yml
Michael Grote 9188b03585
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 8s
ansible-lint / Ansible Lint (pull_request) Failing after 1m6s
sdfg
2024-10-28 19:31:48 +01:00

15 lines
552 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_user }}@mgrote:/backup/pve5/tmp"
## todo ssh konfig in datei statt inline?