ansible-ops-management/templates/etc/rsyncd.conf.j2

20 lines
429 B
Plaintext
Raw Normal View History

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