Commit 6cbf8c79 authored by Hinrikus Wolf's avatar Hinrikus Wolf

ad-replication: add cron for sysvol replication

parent 445e703d
......@@ -105,5 +105,10 @@
- ad-server
- service
- name: ensure we have a replication cronjob for sysvol
template: src=templates/replication-cron dest=/etc/cron.d/samba-replication-cron
delegate_to: "{{ ad_primary }}"
tags:
- ad-server
- meta: flush_handlers
*/5 * * * * root rsync -XAazq --delete-after -e "ssh -q -i /root/.ssh/id_replication" /var/lib/samba/sysvol/ root@{{ ansible_fqdn }}:/var/lib/samba/sysvol/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment