49 lines
1.4 KiB
Django/Jinja
49 lines
1.4 KiB
Django/Jinja
{{ ansible_header | comment }}
|
|
|
|
MIRRORNAME="CRANS"
|
|
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="Les Nounous <contact@crans.org>"
|
|
# INFO_SPONSOR="Example <https://example.com>"
|
|
INFO_COUNTRY=FR
|
|
INFO_LOCATION="Cachan, Île-de-France"
|
|
INFO_THROUGHPUT=1Gb
|
|
|
|
########################################################################
|
|
## 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"
|
|
|