I'm oversaw completely, that I have to change the SSH-port for all nodes in the cluster otherwise I cannot provide a meaningful load-balancer for the git-ssh port in it. Additionally this allowed me to fix some config errors which I simply oversaw.
19 lines
239 B
Plaintext
19 lines
239 B
Plaintext
[server]
|
|
%{for ip in server_ips~}
|
|
${ip}
|
|
%{endfor~}
|
|
|
|
[agent]
|
|
%{for ip in agent_ips~}
|
|
${ip}
|
|
%{endfor~}
|
|
|
|
[k3s_cluster:children]
|
|
server
|
|
agent
|
|
|
|
[k3s_cluster:vars]
|
|
ansible_port=${ssh_port}
|
|
network_cidr=${network_cidr}
|
|
private_nat=${private_nat}
|