It looks somehow random that the SSH-port was simply defined in the configuration of the k3s-setup. It looks somehow "configurable" although it isn't. Therefore I moved this setting to the correct place in the terraform-setup. An important side-note is that this change doesn't make it possible to _change_ the ssh-port, though. Once decided for an port and I have to stick to it until I tear down the cluster!
21 lines
254 B
Plaintext
21 lines
254 B
Plaintext
[server]
|
|
%{for ip in server_ips~}
|
|
${ip}
|
|
%{endfor~}
|
|
|
|
[server:vars]
|
|
ansible_port=${ssh_port}
|
|
|
|
[agent]
|
|
%{for ip in agent_ips~}
|
|
${ip}
|
|
%{endfor~}
|
|
|
|
[k3s_cluster:children]
|
|
server
|
|
agent
|
|
|
|
[k3s_cluster:vars]
|
|
network_cidr=${network_cidr}
|
|
private_nat=${private_nat}
|