diff --git a/inventory/group_vars/mm-crawler b/inventory/group_vars/mm-crawler index 1aeb70cb4c..9cef392746 100644 --- a/inventory/group_vars/mm-crawler +++ b/inventory/group_vars/mm-crawler @@ -18,3 +18,6 @@ csi_relationship: | * what kinds of processes run here * what other services they depend on * what other services depend on it + +rsyncd_conf: "rsyncd.conf.crawler" +tcp_ports: [ 873 ] diff --git a/playbooks/groups/mirrormanager.yml b/playbooks/groups/mirrormanager.yml index 0f53e36179..54b7949076 100644 --- a/playbooks/groups/mirrormanager.yml +++ b/playbooks/groups/mirrormanager.yml @@ -71,6 +71,7 @@ roles: - mirrormanager/crawler + - rsyncd handlers: - include: "{{ handlers }}/restart_services.yml" diff --git a/roles/rsyncd/files/rsyncd.conf.crawler b/roles/rsyncd/files/rsyncd.conf.crawler new file mode 100644 index 0000000000..532e9526b8 --- /dev/null +++ b/roles/rsyncd/files/rsyncd.conf.crawler @@ -0,0 +1,16 @@ +pid file = /var/run/rsyncd.pid +syslog facility = daemon +dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.bz2 *.iso +use chroot = false +transfer logging = false +exclude = .snapshot/ .~tmp~/ /.private/ /.private/** **/.nfs* + + +# For distributing crawler logs to the mm frontend +[crawler] +comment = Crawler Logs +path = /var/log/mirrormanager/crawler +uid = mirrormanager +gid = mirrormanager +read only = yes +hosts allow = 10.5.126.182