Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
samba
Commits
6cbf8c79
Commit
6cbf8c79
authored
Mar 26, 2018
by
Hinrikus Wolf
Browse files
ad-replication: add cron for sysvol replication
parent
445e703d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ad-server-replication/tasks/main.yml
View file @
6cbf8c79
...
@@ -105,5 +105,10 @@
...
@@ -105,5 +105,10 @@
-
ad-server
-
ad-server
-
service
-
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
-
meta
:
flush_handlers
ad-server-replication/templates/replication-cron
0 → 100644
View file @
6cbf8c79
*/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/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment