Refactoring + final touches
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
[global]
|
||||
# Ansible dynamically grabs all hosts in the 'proxmox' group and joins them with commas
|
||||
controllers={{ groups['proxmox'] | join(',') }}
|
||||
# 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 %}
|
||||
|
||||
Reference in New Issue
Block a user