initial version of rsync module which supports running rsynd server on top of tls
This commit is contained in:
parent
60406a69f9
commit
d49da2f96e
8 changed files with 128 additions and 0 deletions
10
roles/rsync/server/templates/rsyncd-stunnel.conf.j2
Normal file
10
roles/rsync/server/templates/rsyncd-stunnel.conf.j2
Normal 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
|
11
roles/rsync/server/templates/rsyncd.conf.j2
Normal file
11
roles/rsync/server/templates/rsyncd.conf.j2
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue