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

70 lines
1.7 KiB
Django/Jinja

uid = nobody
gid = mirror
use chroot = yes
max connections = 30
pid file = /var/run/rsyncd.pid
exclude = lost+found/
transfer logging = yes
timeout = 600
ignore nonreadable = yes
dont compress = *.gz *.tgz *.zip *.z *.Z *.rpm *.deb *.bz2 *.iso
reverse lookup = no
forward lookup = no
motd file = /etc/rsyncd-motd
[rocky-staging]
path = /mnt/repos-staging/mirror/pub/rocky
comment = Rocky Linux Staging Repositories
read only = true
refuse options = checksum
list = false
[rocky-production]
path = /mnt/repos-production
comment = Rocky Linux Production
read only = true
refuse options = checksum
list = true
[rocky-linux]
path = /mnt/repos-production/mirror/pub/rocky
comment = Rocky Linux Production
read only = true
refuse options = false
list = false
[rocky-sigs]
path = /mnt/repos-production/mirror/pub/sigs
comment = Rocky Linux Special Interest Groups
read only = true
refuse options = checksum
list = false
[rocky]
path = /mnt/repos-production
comment = Rocky Linux - !!Deprecated Module!! - Please use rocky-linux
read only = true
refuse options = checksum
list = true
[rocky-everything]
path = /mnt/repos-production/mirror/
comment = All content available on the mirror. Rocky (Prod+Vault), CentOS (Vault)
read only = true
refuse options = checksum
list = true
[rocky-vault]
path = /mnt/repos-production/mirror/vault/rocky
comment = Rocky Linux Vault - Archived Releases
read only = true
refuse options = checksum
list = true
[centos-vault]
path = /mnt/repos-production/mirror/vault/centos
comment = CentOS 8 Vault
read only = true
refuse options = checksum
list = true