Why is ansible-playbook failed? "Failed to find executable k3s: No such file or directory" #296
-
I cloned the repo. I created VMs on my laptop using this Vagrantfile
I can ssh to all machines. I changed ini file [node] [k3s_cluster:children] Context (variables)Ubunut22.04 when I run I got
k3s is installed
why? Possible Solution
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
How to check if the role |
Beta Was this translation helpful? Give feedback.
-
Can you please post everything in the issue template? |
Beta Was this translation helpful? Give feedback.
-
I will try to reproduce it here. Context (variables)Operating system:
Variables Used
Hosts
[node] [master]
IP.ADDRESS.ONE
IP.ADDRESS.TWO
IP.ADDRESS.THREE
[node]
IP.ADDRESS.FOUR
IP.ADDRESS.FIVE
[k3s_cluster:children]
master
node |
Beta Was this translation helpful? Give feedback.
-
With -vvv how it failed
|
Beta Was this translation helpful? Give feedback.
-
This is similar to #178. Have you tried running the reset task from |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue, updated ansible, also cloned the git again, but keep getting the same error... |
Beta Was this translation helpful? Give feedback.
-
I was abble to fix the issue by changing the destination of the k3s binary download to "/usr/bin/k3s". |
Beta Was this translation helpful? Give feedback.
This is similar to #178. Have you tried running the reset task from
reset.yml
? This is important if something fails initially.