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

main.yml issue. error - he error appears to be in '/home/xxxxx/k3s-ansible/roles/download/tasks/main.yml': line 3, column 3 #37

Closed network-slayer closed 2 years ago

network-slayer commented 2 years ago

The main.yml file doesn't seem to work anymore.

FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: float object has no element 1\n\nThe error appears to be in '/home/xxxx/k3s-ansible/roles/download/tasks/main.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Download k3s binary x64\n ^ here\n"}

Appears to be looking for an undefined variable

timothystewart6 commented 2 years ago

can you post everything that was asked in the issue template?

timothystewart6 commented 2 years ago

This should be working int he latest version, please pull and try again!