--- # 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 - name: Indicate role in motd template: src: update-motd.d/05-service.j2 dest: /etc/update-motd.d/05-rsync-mirror mode: 0755