Ruby hacks does not work on python
This commit is contained in:
parent
e5fe0ff6d9
commit
2fa4233e67
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}} {% 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