mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
use full path for k3s binary (#143)
Signed-off-by: Mark Hahl <mark@hahl.id.au>
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
- name: Replace https://localhost:6443 by https://master-ip:6443
|
- name: Replace https://localhost:6443 by https://master-ip:6443
|
||||||
command: >-
|
command: >-
|
||||||
k3s kubectl config set-cluster default
|
/usr/local/bin/k3s kubectl config set-cluster default
|
||||||
--server=https://{{ master_ip }}:6443
|
--server=https://{{ master_ip }}:6443
|
||||||
--kubeconfig ~{{ ansible_user }}/.kube/config
|
--kubeconfig ~{{ ansible_user }}/.kube/config
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
Reference in New Issue
Block a user