6 lines
396 B
Django/Jinja
6 lines
396 B
Django/Jinja
[global]
|
|
# Controllers list uses private IPs of all nodes (tries each in order).
|
|
# After linstor_ha setup, the VIP becomes the active controller endpoint.
|
|
# The drbd-reactor automatically manages controller failover via the VIP.
|
|
controllers={% for host in groups['proxmox'] %}{{ hostvars[host]['priv_ip'] | default(hostvars[host]['ansible_host']) }}{% if not loop.last %},{% endif %}{% endfor %}
|