ansible/roles/ftpsync/templates/ftpsync.conf.j2

49 lines
1.4 KiB
Django/Jinja

# {{ ansible_managed }}
# MIRRORNAME=`hostname -f`
TO="{{ item.dest }}"
MAILTO="root"
# HUB=false
########################################################################
## Connection options
########################################################################
RSYNC_HOST="{{ item.rsync_host }}"
RSYNC_PATH="{{ item.rsync_path }}"
# RSYNC_USER=
# RSYNC_PASSWORD=
########################################################################
## Mirror information options
########################################################################
# INFO_MAINTAINER="Admins <admins@example.com>, Person <person@example.com>"
# INFO_SPONSOR="Example <https://example.com>"
# INFO_COUNTRY=DE
# INFO_LOCATION="Example"
# INFO_THROUGHPUT=10Gb
########################################################################
## Include and exclude options
########################################################################
# ARCH_INCLUDE=
# ARCH_EXCLUDE=
########################################################################
## Log option
########################################################################
LOGDIR="/var/log/mirror"
## If you do want a mail about every single sync, set this to false
## Everything else will only send mails if a mirror sync fails
ERRORSONLY="true"
## If you want the logs to also include output of rsync, set this to true.
## Careful, the logs can get pretty big, especially if it is the first mirror
## run
FULLLOGS="false"