Files
proxmox-post-install/ansible/roles/linstor_cluster/templates/linstor-client.conf.j2
2026-04-24 12:58:56 +00:00

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 %}