Added evobackup-client role #83

Manually merged
Ghost merged 17 commits from evobackup-client into unstable 2020-02-06 22:31:45 +01:00
Showing only changes of commit f9b55c0c91 - Show all commits

View file

@ -19,7 +19,7 @@
# email adress for notifications
MAIL={{ evobackup-client__mail }}
{{ evobackup-client__hosts | map

This probably is a bad copy/paste.

This probably is a bad copy/paste.
Outdated
Review

Damnit, thought I had erased that.

Damnit, thought I had erased that.
# list of hosts (hostname or IP) and SSH port for Rsync
SERVERS="{% for host in evobackup-client__hosts %}{{ host.name }}:{{ host.port }}{% if loop.index != loop.length %} {% endif %}{% endfor %}"

i'm not sure this loop produces the intended output.

i'm not sure this loop produces the intended output.
Outdated
Review

It produces:

SERVERS="hostname:port hostname:port "

The extra space at the end is not the cleanest, but it does not break the script.

It produces: ``` SERVERS="hostname:port hostname:port " ``` The extra space at the end is not the cleanest, but it does not break the script.
Outdated
Review

But this is kind of reason why it's a pull request and not a straight merge.

But this is kind of reason why it's a pull request and not a straight merge.
Outdated
Review

This should not be marked as outdated, this conversation is still open.

This should not be marked as outdated, this conversation is still open.