ansible/roles/rsync-mirror/tasks/main.yml

13 lines
273 B
YAML

---
# cron run as mirror user
- name: Add the mirror user
user:
name: mirror
home: /var/mirror # unused, should be something empty
shell: /bin/false
- name: Configure ftpsync cron
template:
src: rsync-mirror-cron.j2
dest: /etc/cron.d/rsync-mirror