initial version of rsync module which supports running rsynd server on top of tls

This commit is contained in:
Timo Makinen 2019-05-20 23:07:35 +03:00
parent 60406a69f9
commit d49da2f96e
8 changed files with 128 additions and 0 deletions

View file

@ -0,0 +1,10 @@
key = /etc/pki/tls/private/{{ inventory_hostname }}.key
cert = /etc/pki/tls/certs/{{ inventory_hostname }}.crt
client = no
verify = 2
CAfile = /etc/pki/tls/certs/ca.crt
exec = /usr/bin/rsync
execargs = rsync --daemon --config=/etc/rsyncd.conf

View file

@ -0,0 +1,11 @@
[global]
user = rsyncd
group = rsyncd
use chroot = yes
read only = yes
hosts allow = *
[test]
comment = test module
path = /srv/mirrors/openbsd/
read only = yes