Add rsyncd role to the MM crawlers
To provide access to the crawler logs on the mm frontend the crawlers are now exporting their logs over rsync.
This commit is contained in:
parent
34e5052ee4
commit
a5bc52c240
3 changed files with 20 additions and 0 deletions
|
@ -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 ]
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
|
||||
roles:
|
||||
- mirrormanager/crawler
|
||||
- rsyncd
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
|
16
roles/rsyncd/files/rsyncd.conf.crawler
Normal file
16
roles/rsyncd/files/rsyncd.conf.crawler
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue