---
# 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 rsync cron
template:
src: rsync-mirror-cron.j2
dest: /etc/cron.d/rsync-mirror