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.

Home Page:https://technotim.live/posts/k3s-etcd-ansible/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The conditional check 'custom_registries' failed

Barlog951 opened this issue · comments

Hi all

I was using older version of script from like half year ago ( everything works fine ), now I try new version ( current head )

and this happens

"msg": "The conditional check 'custom_registries' failed. The error was: error while evaluating conditional (custom_registries): 'custom_registries' is undefined. 'custom_registries' is undefined\n\nThe error appears to be in 'Kubernetes/k3s-ansible/roles/k3s_custom_registries/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: Create directory /etc/rancher/k3s\n ^ here\n

servers Ubuntu 22.04
ansible [core 2.16.5]

I start script from Mac machine

Thanks for help :)

can you please post your variables?