techno-tim / k3s-ansible

The easiest way to bootstrap a self-hosted High Availability Kubernetes cluster. A fully automated HA k3s etcd install with kube-vip, MetalLB, and more. Build. Destroy. Repeat.
https://technotim.live/posts/k3s-etcd-ansible/
Apache License 2.0
2.41k stars 1.05k forks source link

netmask identification is not working with 10. addresses #195

Closed Andre15711 closed 1 year ago

Andre15711 commented 1 year ago

The netmask identification is not working when the host is using 10. addresses like 10.10.10.10/24. Script will fail, when trying to copy the vip.yaml template to the first node.

https://github.com/techno-tim/k3s-ansible/blob/e98e3ee77c7a07ed5ff1ab4588f394462c70b20f/roles/k3s/master/templates/vip.yaml.j2#L36

timothystewart6 commented 1 year ago

duplicated of https://github.com/techno-tim/k3s-ansible/issues/196