mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 04:00:25 +08:00
Ruby hacks does not work on python
This commit is contained in:
@@ -17,7 +17,7 @@ end-volume
|
||||
|
||||
volume mirror-0
|
||||
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) %}
|
||||
option read-subvolume vol-{{ servers.index(inventory_hostname)}}{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user