ansible-ops-management/templates/etc/rsyncd.conf.j2
2022-07-16 20:10:20 -07:00

19 lines
429 B
Django/Jinja

uid = nobody
gid = mirror
use chroot = yes
max connections = {{ rsync_max_connections }}
pid file = /var/run/rsyncd.pid
exclude = {{ rsync_exclude }}
transfer logging = yes
timeout = {{ rsync_timeout }}
ignore nonreadable = yes
dont compress = {{ rsync_no_compress }}
reverse lookup = no
forward lookup = no
motd file = /etc/rsyncd-motd
{% for path in paths %}
[{{ path.name }}]
{{ path.content|indent(width=8) }}
{% endfor %}