openstack-ansible-repo_server/templates/rsyncd.conf.j2
Dmitriy Rabotyagov 1ac51ddea7 Bind services to mgmt network addresses
These addresses are given defaults of 0.0.0.0 in the role defaults
but in a deployment we know which address each service should bind to.

The variable repo_server_bind_address should hold the mgmt network IP
address for either containerised or metal deployments and drives the
bind addresses where necessary.

Co-Authored-By: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
Change-Id: Iff95282b91a94d22fc8f6cdbadefacb53cae5b79
2020-06-04 06:55:14 +00:00

17 lines
366 B
Django/Jinja

log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
max connections = 15
timeout = 600
transfer logging = true
address = {{ repo_server_bind_address }}
[openstack_mirror]
path = {{ repo_service_home_folder }}/repo
comment = OpenStack Private Cloud Mirror Server
use chroot = yes
read only = yes
uid = nobody
gid = nogroup