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

Do not rely on ansible_user #214

Closed sleiner closed 1 year ago

sleiner commented 1 year ago

Proposed Changes

Instead of reading ansible_user (which may or may not be defined), this patch lets the roles rely on Ansible facts.

Checklist

timothystewart6 commented 1 year ago

Thank you!