Added evobackup-client role #83
|
@ -19,7 +19,7 @@
|
|||
|
||||
# email adress for notifications
|
||||
MAIL={{ evobackup-client__mail }}
|
||||
{{ evobackup-client__hosts | map
|
||||
|
||||
Ghost
commented
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 %}"
|
||||
jlecour
commented
i'm not sure this loop produces the intended output. i'm not sure this loop produces the intended output.
Ghost
commented
It produces:
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.
Ghost
commented
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.
Ghost
commented
This should not be marked as outdated, this conversation is still open. This should not be marked as outdated, this conversation is still open.
|
||||
|
||||
|
|
Loading…
Reference in a new issue
This probably is a bad copy/paste.