Fix extra space in zzz_evobackup template

Not the best solution, a mix of map, format, join would of been
better, but I could not find out how to make it work with multiple
attributes.
This commit is contained in:
Patrick Marchand 2019-09-03 11:14:48 -04:00
parent 0f7d9e9f24
commit 71bf970811

View file

@ -19,9 +19,9 @@
# email adress for notifications
MAIL={{ evobackup-client__mail }}
{{ evobackup-client__hosts | map
# list of hosts (hostname or IP) and SSH port for Rsync
SERVERS="{% for host in evobackup-client__hosts %}{{ host.name }}:{{ host.port }} {% endfor %}"
SERVERS="{% for host in evobackup-client__hosts %}{{ host.name }}:{{ host.port }}{% if loop.index != loop.length %} {% endif %}{% endfor %}"
# timeout (in seconds) for SSH connections
SSH_CONNECT_TIMEOUT=30