Really jinja, 1?
This commit is contained in:
parent
2fa4233e67
commit
db7116ca33
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ end-volume
|
||||||
|
|
||||||
volume mirror-0
|
volume mirror-0
|
||||||
type cluster/replicate
|
type cluster/replicate
|
||||||
subvolumes {% for server in servers %}vol-{{loop.index}} {% endfor %}
|
subvolumes {% for server in servers %}vol-{{loop.index - 1}} {% endfor %}
|
||||||
{% if servers.index(inventory_hostname) %}
|
{% if servers.index(inventory_hostname) %}
|
||||||
option read-subvolume vol-{{ servers.index(inventory_hostname)}}{% endif %}
|
option read-subvolume vol-{{ servers.index(inventory_hostname)}}{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue