Skip to content
Snippets Groups Projects
Commit 6cbf8c79 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

ad-replication: add cron for sysvol replication

parent 445e703d
Branches
No related tags found
No related merge requests found
......@@ -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/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment