[control_plane]
{% for node in control_planes %}
{{ node.name }} ansible_host={{ node.public_ip }} k3s_private_ip={{ node.private_ip }}
{% endfor %}

[workers]
{% for node in workers %}
{{ node.name }} ansible_host={{ node.public_ip }} k3s_private_ip={{ node.private_ip }}
{% endfor %}

[cluster:children]
control_plane
workers

[cluster:vars]
ansible_user=ubuntu
ansible_python_interpreter=/usr/bin/python3
ansible_ssh_private_key_file={{ private_key_file }}
kube_api_endpoint={{ kube_api_lb_ip }}
