use full path for k3s binary (#143)

Signed-off-by: Mark Hahl <mark@hahl.id.au>
This commit is contained in:
Mark Hahl 2023-11-08 05:37:24 +11:00 committed by GitHub
parent 12db5ef1f1
commit 6749ca5874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@
- name: Replace https://localhost:6443 by https://master-ip:6443
command: >-
k3s kubectl config set-cluster default
/usr/local/bin/k3s kubectl config set-cluster default
--server=https://{{ master_ip }}:6443
--kubeconfig ~{{ ansible_user }}/.kube/config
changed_when: true